diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-24 10:35:19 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-24 10:35:57 +0000 |
commit | 0b45c2264a430b9f40e3cfaf0704050c2101b830 (patch) | |
tree | f5ee0d676735dc72dacb489addfefc6fb54156a1 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | aba80d0734d1bc876395ad048462534618d25ca8 (diff) | |
download | llvm-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