diff options
| author | Nadav Rotem <nrotem@apple.com> | 2012-12-19 07:39:08 +0000 |
|---|---|---|
| committer | Nadav Rotem <nrotem@apple.com> | 2012-12-19 07:39:08 +0000 |
| commit | bf5a2c6a39f2a98a83f5fb668b8b35156b693471 (patch) | |
| tree | e14155a54238ff20ca4af3343ad073742a3256d1 /test/CodeGen/Generic/shift-int64.ll | |
| parent | af08627af5e72a3f7e75ffacab9fe7b62d196608 (diff) | |
| download | external_llvm-bf5a2c6a39f2a98a83f5fb668b8b35156b693471.zip external_llvm-bf5a2c6a39f2a98a83f5fb668b8b35156b693471.tar.gz external_llvm-bf5a2c6a39f2a98a83f5fb668b8b35156b693471.tar.bz2 | |
After reducing the size of an operation in the DAG we zero-extend the reduced
bitwidth op back to the original size. If we reduce ANDs then this can cause
an endless loop. This patch changes the ZEXT to ANY_EXTEND if the demanded bits
are equal or smaller than the size of the reduced operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/shift-int64.ll')
0 files changed, 0 insertions, 0 deletions
