llvm-6502/lib/Transforms
Chen Li 2306579644 [PlaceSafepoints] Assertion on that gc_result can not have preceding phis should only apply to invoke statepoint
Summary: When PlaceSafepoints pass replaces old return result with gc_result from statepoint, it asserts that gc_result can not have preceding phis in its parent block. This is only true on invoke statepoint, which terminates the block and puts its result at the beginning of the normal successor block. Call statepoint does not terminate the block and thus its result is in the same block with it. There should be no restriction on whether there are phis or not.

Reviewers: reames, igor-laevsky

Reviewed By: igor-laevsky

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9803

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237597 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-18 19:02:25 +00:00
..
Hello
InstCombine Reapply r237520 with another fix for infinite looping 2015-05-17 08:27:27 +00:00
Instrumentation InstrProf: Update name of compiler-rt routine for setting filename 2015-05-12 21:23:09 +00:00
IPO [NFC] remove an extra new line 2015-05-15 18:32:21 +00:00
ObjCARC Convert PHI getIncomingValue() to foreach over incoming_values(). NFC. 2015-05-12 20:05:31 +00:00
Scalar [PlaceSafepoints] Assertion on that gc_result can not have preceding phis should only apply to invoke statepoint 2015-05-18 19:02:25 +00:00
Utils SimplifyIV comments and dead argument cleanup. 2015-05-18 16:49:31 +00:00
Vectorize [X86] Disable loop unrolling in loop vectorization pass when VF is 1. 2015-05-06 17:12:25 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile