diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-02-28 06:11:16 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-02-28 06:11:16 +0000 |
commit | b998915ee117aea49397c4a825762f6c3b58e4d8 (patch) | |
tree | 67b6efd6b3fb3e6479aa7c836a1c393c4e69c5f3 /clang/lib/Frontend/ASTUnit.cpp | |
parent | 1e3f3bf950bab3b218e7331a92d06566fa132230 (diff) | |
download | bcm5719-llvm-b998915ee117aea49397c4a825762f6c3b58e4d8.tar.gz bcm5719-llvm-b998915ee117aea49397c4a825762f6c3b58e4d8.zip |
Swap PPC isel operands to allow for 0-folding
The PPC isel instruction can fold 0 into the first operand (thus eliminating
the need to materialize a zero-containing register when the 'true' result of
the isel is 0). When the isel is fed by a bit register operation that we can
invert, do so as part of the bit-register-operation peephole routine.
llvm-svn: 202469
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions