aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/MC/StringTableBuilderTest.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-10-23 20:30:02 +0000
committerTim Northover <tnorthover@apple.com>2015-10-23 20:30:02 +0000
commitd4f55c0b1b878df2aa28f0df382158cb69ed9e74 (patch)
tree883648f1c14ae24a6d78f59f5f446a1307d1fc09 /llvm/unittests/MC/StringTableBuilderTest.cpp
parent236bf3bfe47c331b481348a932190c88561517bf (diff)
downloadllvm-d4f55c0b1b878df2aa28f0df382158cb69ed9e74.zip
llvm-d4f55c0b1b878df2aa28f0df382158cb69ed9e74.tar.gz
llvm-d4f55c0b1b878df2aa28f0df382158cb69ed9e74.tar.bz2
GVN: don't try to replace instruction with itself.
After some look-ahead PRE was added for GEPs, an instruction could end up in the table of candidates before it was actually inspected. When this happened the pass might decide it was the best candidate to replace itself. This didn't go well. Should fix PR25291 llvm-svn: 251145
Diffstat (limited to 'llvm/unittests/MC/StringTableBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions