rs6000 - add speculation_barrier pattern
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 1 Aug 2018 08:16:48 +0000 (08:16 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Wed, 1 Aug 2018 08:16:48 +0000 (08:16 +0000)
commitd1b05d128dca0009642908dd2fb490c1ee27e72e
tree666fbf4907a416bc86347044c7e407cba6510155
parent31e962f2dd67eef0f148b60696df9d95cc1dd713
rs6000 - add speculation_barrier pattern

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.

From-SVN: r263197
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md