diff options
| author | Jingyue Wu <jingyue@google.com> | 2014-05-27 18:00:00 +0000 |
|---|---|---|
| committer | Jingyue Wu <jingyue@google.com> | 2014-05-27 18:00:00 +0000 |
| commit | 585644611e1f696bbd8f95a5eb75fc808b1cfdb6 (patch) | |
| tree | 8f675bc4b768929156537cf62dc53763cc011e94 /lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | 991c9c1c8919c77342c61c6b8263cbd30501809d (diff) | |
| download | llvm-585644611e1f696bbd8f95a5eb75fc808b1cfdb6.tar.gz llvm-585644611e1f696bbd8f95a5eb75fc808b1cfdb6.tar.bz2 llvm-585644611e1f696bbd8f95a5eb75fc808b1cfdb6.tar.xz | |
Distribute sext/zext to the operands of and/or/xor
This is an enhancement to SeparateConstOffsetFromGEP. With this patch, we can
extract a constant offset from "s/zext and/or/xor A, B".
Added a new test @ext_or to verify this enhancement.
Refactoring the code, I also extracted some common logic to function
Distributable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
