1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib/Transforms
Chandler Carruth 2f1d94e61e [PM] Move the collection of call sites to a more appropriate place
inside of `InlineFunction`. Prior to this, call instructions are
specifically being rewritten and replaced within the inlined region,
invalidating some of the call sites.

Several of these regions are using the same technique to walk the
inlined region so this seems clearly safe up to this point.

I've also added a short circuit to the scan for call sites based on what
other code is doing.

With this, the most common crash I've found in the new inliner code is
fixed. I've turned it on for another test case that covers this
scenario.

I'll make my way through most of the other inliner test cases
just to get some easy coverage next.

llvm-svn: 290562
2016-12-27 01:24:50 +00:00
..
Coroutines Fix spelling mistakes in Transforms comments. NFC. 2016-11-20 13:19:49 +00:00
Hello
InstCombine [AVX-512][InstCombine] Teach InstCombine to turn packed add/sub/mul/div with rounding intrinsics into normal IR operations if the rounding mode is CUR_DIRECTION. 2016-12-27 00:23:16 +00:00
Instrumentation [IR] Remove the DIExpression field from DIGlobalVariable. 2016-12-20 02:09:43 +00:00
IPO [PM] Teach the always inliner in the new pass manager to support 2016-12-26 23:43:27 +00:00
ObjCARC [CMake] NFC. Updating CMake dependency specifications 2016-11-17 04:36:50 +00:00
Scalar clang-format NewGVN files 2016-12-26 20:06:58 +00:00
Utils [PM] Move the collection of call sites to a more appropriate place 2016-12-27 01:24:50 +00:00
Vectorize [LV] Sink tripcount query to where it's actually used. NFC. 2016-12-19 22:47:52 +00:00
CMakeLists.txt
LLVMBuild.txt