diff options
author | Joel Jones <joel_k_jones@apple.com> | 2012-04-19 20:54:44 +0000 |
---|---|---|
committer | Joel Jones <joel_k_jones@apple.com> | 2012-04-19 20:54:44 +0000 |
commit | c8969fd2919ac99bfd2fa07a6885659d804101c6 (patch) | |
tree | e5148257f968685d560b576141347f0ad5f318d1 /lib/Transforms/Scalar/LoopUnswitch.cpp | |
parent | adea497673dab74b08fa2546e69619f1abe55662 (diff) |
Test for the the problem with xors being changed into ands
when the set bits aren't the same for both args of the xor.
This transformation is in the function TargetLowering::SimplifyDemandedBits
in the file lib/CodeGen/SelectionDAG/TargetLowering.cpp.
I have tested this test using a previous version of llc which the defect and
the a version of llc which does not. I got the expected fail and pass,
respectively.
This test goes with rdar://11195364 and the check in with the fix: svn r154955
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
0 files changed, 0 insertions, 0 deletions