summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-03 05:48:48 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-03 05:48:48 +0000
commita0cba89f861da4cba80c28a1d3cf30c8e0fb436e (patch)
treeafea7ff988d2fc401c50a3e5b5e08f57466d69d7 /llvm/lib/Target/ARM/ARMConstantPoolValue.cpp
parent21e77037c0f00b943421884ee18b920b405a517c (diff)
downloadbcm5719-llvm-a0cba89f861da4cba80c28a1d3cf30c8e0fb436e.tar.gz
bcm5719-llvm-a0cba89f861da4cba80c28a1d3cf30c8e0fb436e.zip
[LoopIdiomRecognize] Add a test case showing that we transform to ctpop without fully checking the 'x & (x-1)' part.
The code fails to check that the same value is used twice. We only make sure the left hand side of the and is part of the loop recurrence. The 'x' in the subtract can be any value. llvm-svn: 331436
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantPoolValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud