1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib
Gor Nishanov 47343c589d [Coroutines] Part12: Handle alloca address-taken
Summary:
Move early uses of spilled variables after CoroBegin.

For example, if a parameter had address taken, we may end up with the code
like:
        define @f(i32 %n) {
          %n.addr = alloca i32
          store %n, %n.addr
          ...
          call @coro.begin

This patch fixes the problem by moving uses of spilled variables after CoroBegin.

Reviewers: majnemer

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D24234

llvm-svn: 280678
2016-09-05 23:45:45 +00:00
..
Analysis [LCG] Clean up and make NDEBUG verify calls more rigorous with 2016-09-04 08:34:31 +00:00
AsmParser [AsmParser] Placate a -Wmisleading-indentantion warning (GCC7). 2016-08-26 18:05:03 +00:00
Bitcode Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-25 00:45:04 +00:00
CodeGen [Profile] preserve branch metadata lowering select in CGP 2016-09-03 21:26:36 +00:00
DebugInfo [codeview] Use the correct max CV record length of 0xFF00 2016-09-02 18:43:27 +00:00
ExecutionEngine [ORC] Clone module flags metadata into the globals module in the 2016-09-04 17:53:30 +00:00
Fuzzer [libFuzzer] add -minimize_crash flag (to minimize crashers). also add two tests that I failed to commit last time 2016-09-01 01:22:27 +00:00
IR [AVX-512] Remove 128-bit and 256-bit masked floating point add/sub/mul/div intrinsics and upgrade to native IR. 2016-09-04 18:13:33 +00:00
IRReader
LibDriver
LineEditor
Linker Fix ThinLTO crash with debug info 2016-09-03 21:12:33 +00:00
LTO [lib/LTO] Simplify. No functional change intended. 2016-09-02 16:37:31 +00:00
MC (LLVM part) Implement MASM-flavor intel syntax behavior for inline MS asm block: 2016-09-02 23:15:29 +00:00
Object Next set of additional error checks for invalid Mach-O files for bad load commands 2016-08-31 17:57:46 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00
Passes [EarlyCSE] Optionally use MemorySSA. NFC. 2016-08-31 19:24:10 +00:00
ProfileData [Coverage] Make sorting criteria for CounterMappingRegions local. 2016-08-31 07:01:17 +00:00
Support [Support] - Fix possible crash in match() of llvm::Regex. 2016-09-02 08:44:46 +00:00
TableGen Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
Target [AVX-512] Integrate mask register copying more completely into X86InstrInfo::copyPhysReg and simplify. No functional change intended. 2016-09-05 20:34:50 +00:00
Transforms [Coroutines] Part12: Handle alloca address-taken 2016-09-05 23:45:45 +00:00
CMakeLists.txt
LLVMBuild.txt