aboutsummaryrefslogtreecommitdiff
path: root/unittests/ADT/HashingTest.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-02-18 17:22:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-02-18 17:22:58 +0000
commitef4c80e07baf02dd2a8f08db49c5634a06d3ca1e (patch)
treefeba556fcdc7f9ccd182ed4fbe3206947cd5c625 /unittests/ADT/HashingTest.cpp
parent31d157ae1ac2cd9c787dc3c1d28e64c682803844 (diff)
Don't skip debug instructions when looking for the insertion point of
the cast. If we do, we can end up with inst1 --------------- < Insertion point dbg inst new inst instead of the desired inst1 new inst --------------- < Insertion point dbg inst Another option would be for InsertNoopCastOfTo (or its callers) to move the insertion point and we would end up with inst1 dbg inst new inst --------------- < Insertion point but that complicates the callers. This fixes PR12018 (and firefox's build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/HashingTest.cpp')
0 files changed, 0 insertions, 0 deletions