rs6000 - add speculation_barrier pattern

Programming / Compilers / GCC - rearnsha [138bc75d-0d04-0410-961f-82ee72b054a4] - 1 August 2018 08:16 EDT

This patch reworks the existing rs6000_speculation_barrier pattern to work with the new __builtin_sepculation_safe_value() intrinsic. The change is trivial as it simply requires renaming the existing speculation barrier pattern.

So the total patch is to delete 14 characters!

- config/rs6000/rs6000.md (speculation_barrier): Renamed from rs6000_speculation_barrier.
- config/rs6000/rs6000.c (rs6000_expand_builtin): Adjust for new barrier pattern name.

451ed1ab9cc rs6000 - add speculation_barrier pattern
gcc/ChangeLog | 7 +++++++
gcc/config/rs6000/rs6000.c | 2 +-
gcc/config/rs6000/rs6000.md | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share