diff options
| author | Jingyue Wu <jingyue@google.com> | 2014-10-25 17:36:21 +0000 |
|---|---|---|
| committer | Jingyue Wu <jingyue@google.com> | 2014-10-25 17:36:21 +0000 |
| commit | b723152379709d4bc4e5d91a92c48b509880e9f2 (patch) | |
| tree | 9be7a834608d8c12b25b86490b33441416fcb3ce /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
| parent | d3c3e78ac17602420ca05b1ce1ed7d20ba9c5ede (diff) | |
| download | bcm5719-llvm-b723152379709d4bc4e5d91a92c48b509880e9f2.tar.gz bcm5719-llvm-b723152379709d4bc4e5d91a92c48b509880e9f2.zip | |
[SeparateConstOffsetFromGEP] Fixed a bug in rebuilding OR expressions
The two operands of the new OR expression should be NextInChain and TheOther
instead of the two original operands.
Added a regression test in split-gep.ll.
Hao Liu reported this bug, and provded the test case and an initial patch.
Thanks!
llvm-svn: 220615
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
0 files changed, 0 insertions, 0 deletions

