summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/destructors.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-09-01 21:20:14 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-09-01 21:20:14 +0000
commitd4cffcf07385bc92dd5b836646cad9204f1d043d (patch)
tree50d588f4e616311a80eeea71142440312b17f297 /clang/test/CodeGenCXX/destructors.cpp
parentd2df50196fbdbf8ceec6ed708f0ccce0af24a7c9 (diff)
downloadbcm5719-llvm-d4cffcf07385bc92dd5b836646cad9204f1d043d.tar.gz
bcm5719-llvm-d4cffcf07385bc92dd5b836646cad9204f1d043d.zip
SROA: Don't insert instructions before a PHI
SROA may decide that it needs to insert a bitcast and would set it's insertion point before a PHI. This will create an invalid module right quick. Instead, choose the first insertion point in the basic block that holds our PHI. This fixes PR20822. Differential Revision: http://reviews.llvm.org/D5141 llvm-svn: 216891
Diffstat (limited to 'clang/test/CodeGenCXX/destructors.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud