diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-04 21:22:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-04 21:22:48 +0000 |
commit | 7844a99d6074c3d8582edc5182d58448cb95ca4b (patch) | |
tree | 4aadd9459049f562e5d3fff869fa1337a71650be /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | feeced410484be20c91f2b8d49895658c5d724d6 (diff) | |
download | llvm-7844a99d6074c3d8582edc5182d58448cb95ca4b.zip llvm-7844a99d6074c3d8582edc5182d58448cb95ca4b.tar.gz llvm-7844a99d6074c3d8582edc5182d58448cb95ca4b.tar.bz2 |
Perform this folding as a target specific dag combine:
(or (x << c) | (y >> (64 - c))) ==> (shld64 x, y, c)
The isel patterns may not catch all the cases if general dag combine has reduced width of source operands.
llvm-svn: 92513
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions