Go to file
Jakob Stoklund Olesen fee2a20209 Simplify landing pad lowering.
Stop using the ISD::EXCEPTIONADDR and ISD::EHSELECTION when lowering
landing pad arguments. These nodes were previously legalized into
CopyFromReg nodes, but that never worked properly because the
CopyFromReg node weren't guaranteed to be  scheduled at the top of the
basic block.

This meant the exception pointer and selector registers could be
clobbered before being copied to a virtual register.

This patch copies the two physical registers to virtual registers at
the beginning of the basic block, and lowers the landingpad instruction
directly to two CopyFromReg nodes reading the *virtual* registers. This
is safe because virtual registers don't get clobbered.

A future patch will remove the ISD::EXCEPTIONADDR and ISD::EHSELECTION
nodes.

llvm-svn: 185617
2013-07-04 04:53:45 +00:00
clang Add test for PR4997. This has been fixed for a while. 2013-07-04 04:10:46 +00:00
clang-tools-extra cpp11-migrate: Add Replace-AutoPtr Transform 2013-07-03 13:21:24 +00:00
compiler-rt [sanitizer] Fix memory leak in sanitizer_common discovered by LeakSanitizer. 2013-07-03 13:45:13 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc libclc: Add assembly versions of vstore for global [u]int4/8/16 2013-06-26 18:22:20 +00:00
libcxx Patch for N3655 (Transformation type traits) with Howard's additions 2013-07-04 00:10:01 +00:00
libcxxabi Updated CREDITS.TXT 2013-07-02 19:01:59 +00:00
lld [PECOFF][Writer] Fix SizeOfImage header. It should include the first unmapped page. 2013-07-03 12:55:56 +00:00
lldb Remove @expectedFailureGcc from TestInlineStepping as function prologue bug is not reproducible anymore. 2013-07-03 20:51:44 +00:00
llvm Simplify landing pad lowering. 2013-07-04 04:53:45 +00:00
polly scop detection: early return 2013-07-03 22:50:36 +00:00