diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-10-02 23:49:13 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-10-02 23:49:13 +0000 |
commit | 2b87e06d265e83d61873075e8f8e9c51430ff332 (patch) | |
tree | 7e5ba8eb7c9b2ef26b7ccfd88f10e87760243d5d /lib/CodeGen/GCStrategy.cpp | |
parent | 394820b8e159a39a9a07aac9722ad8738680037d (diff) |
Fix a serious X86 instruction selection bug. In
X86DAGToDAGISel::PreprocessISelDAG(), isel is moving load inside
callseq_start / callseq_end so it can be folded into a call. This can
create a cycle in the DAG when the call is glued to a copytoreg. We
have been lucky this hasn't caused too many issues because the pre-ra
scheduler has special handling of call sequences. However, it has
caused a crash in a specific tailcall case.
rdar://12393897
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCStrategy.cpp')
0 files changed, 0 insertions, 0 deletions