aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-06-08 13:37:30 +0000
committerDuncan Sands <baldrick@free.fr>2012-06-08 13:37:30 +0000
commit9a5cf9225091d8dee89e08ac025b60f867e65e37 (patch)
tree498af9d9390b18a8a25c28ff8d266d0b2c415e4a /clang/lib/Basic/SourceManager.cpp
parentf26b842ca8631c08ee3f98cf384dbbf613b682e4 (diff)
downloadllvm-9a5cf9225091d8dee89e08ac025b60f867e65e37.zip
llvm-9a5cf9225091d8dee89e08ac025b60f867e65e37.tar.gz
llvm-9a5cf9225091d8dee89e08ac025b60f867e65e37.tar.bz2
Revert commit 158073 while waiting for a fix. The issue is that reassociate
can move instructions within the instruction list. If the instruction just happens to be the one the basic block iterator is pointing to, and it is moved to a different basic block, then we get into an infinite loop due to the iterator running off the end of the basic block (for some reason this doesn't fire any assertions). Original commit message: Grab-bag of reassociate tweaks. Unify handling of dead instructions and instructions to reoptimize. Exploit this to more systematically eliminate dead instructions (this isn't very useful in practice but is convenient for analysing some testcase I am working on). No need for WeakVH any more: use an AssertingVH instead. llvm-svn: 158199
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions