llvm-project/llvm/test/Transforms/LoopIdiom
Craig Topper c9a6000755 [LoopIdiomRecognize] Add CTTZ support
Summary:
Existing LIR recognizes CTLZ where shifting input variable right until it is zero. (Shift-Until-Zero idiom)

This commit:
1. Augments Shift-Until-Zero idiom to recognize CTTZ where input variable is shifted left.
2. Prepare for BitScan idiom recognition.

Patch by Yuanfang Chen (tabloid.adroit)

Reviewers: craig.topper, evstupac

Reviewed By: craig.topper

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D55876

llvm-svn: 350074
2018-12-26 21:59:48 +00:00
..
AMDGPU
ARM
X86 [LoopIdiomRecognize] Add CTTZ support 2018-12-26 21:59:48 +00:00
basic-address-space.ll
basic.ll
crash.ll
ctpop-multiple-users-crash.ll
debug-line.ll
int_sideeffect.ll
lir-heurs-multi-block-loop.ll
memset_noidiom.ll
non-canonical-loop.ll
non-integral-pointers.ll
nontemporal_store.ll
pr28196.ll
pr33114.ll
scev-invalidation.ll
scev-invalidation_topmostloop.ll SCEV should forget all loops containing a deleted block. 2018-08-09 17:53:26 +00:00
struct-custom-dl.ll
struct.ll
struct_pattern.ll
unordered-atomic-memcpy-noarch.ll
unroll-custom-dl.ll
unroll.ll
unsafe.ll
unwind.ll