diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-08-28 02:10:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-08-28 02:10:15 +0000 |
commit | 97d047dec71cb37f31aac102cdc87b3dec0b1c46 (patch) | |
tree | ff8cb03e42fb2b48aaec96dff4633dbf36bd5b0c /lib/Support/IntEqClasses.cpp | |
parent | 164a308b563c8bdc280c0762d79a8e797c3497e7 (diff) |
Optimize zext on PPC64.
The zeroextend IR instruction is lowered to an 'and' node with an immediate
mask operand, which in turn gets legalised to a sequence of ori's & ands.
This can be done more efficiently using the rldicl instruction.
Patch by Tobias von Koch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/IntEqClasses.cpp')
0 files changed, 0 insertions, 0 deletions