diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-02-13 20:17:13 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-02-13 20:17:13 +0000 |
commit | 45195c873bc9fb97e7860167d030f58a93c21f39 (patch) | |
tree | 7031e70085f141e1d307e988b32b555ce07514e8 /llvm/lib/CodeGen/UnreachableBlockElim.cpp | |
parent | fa533f21523485f8e6f7d21a552fa5ca1128d46d (diff) | |
download | bcm5719-llvm-45195c873bc9fb97e7860167d030f58a93c21f39.tar.gz bcm5719-llvm-45195c873bc9fb97e7860167d030f58a93c21f39.zip |
[PowerPC] Stop defining _ARCH_PWR6X on POWER7 and up
Summary:
The predefined macro `_ARCH_PWR6X` is associated with GCC's
`-mcpu=power6x` option, which enables generation of P6 "raw mode"
instructions such as `mftgpr`.
Later POWER processors build upon the "architected mode", not the raw
one. `_ARCH_PWR6X` should not be defined for these later processors.
Fixes PR#40236.
Reviewers: echristo, hfinkel, kbarton, nemanjai, wschmidt
Reviewed By: hfinkel
Subscribers: jsji, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58128
llvm-svn: 353975
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions