aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-24 10:35:19 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-24 10:35:57 +0000
commit0b45c2264a430b9f40e3cfaf0704050c2101b830 (patch)
treef5ee0d676735dc72dacb489addfefc6fb54156a1 /llvm/lib/CodeGen/MachineOperand.cpp
parentaba80d0734d1bc876395ad048462534618d25ca8 (diff)
downloadllvm-0b45c2264a430b9f40e3cfaf0704050c2101b830.zip
llvm-0b45c2264a430b9f40e3cfaf0704050c2101b830.tar.gz
llvm-0b45c2264a430b9f40e3cfaf0704050c2101b830.tar.bz2
[SelectionDAG] rot(x, y) --> x iff ComputeNumSignBits(x) == BitWidth(x)
Rotating an 0/-1 value by any amount will always result in the same 0/-1 value
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions