Enhancement: extract a constant offset from "s/zext and/or/xor A, B".
Refactor: Extract some common logic into Distributable.
Added a test @ext_or to verify this transformation.
Paths
| Differential D3858
[Transforms/Scalar/SeparateConstOffsetFromGEP] Distribute sext/zext to the operands of and/or/xor ClosedPublic Authored by jingyue on May 20 2014, 7:16 PM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 27 2014, 9:28 AM
Revision Contents
Diff 9712 lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
|