1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Transforms/InstCombine
Andy Kaylor fd18a762a0 Enabling the copy-constant-to-alloca optimization in more instances
Patch by Mohammad Fawaz

This patch allows lifetime calls to be ignored (and later erased) if we
know that the copy-constant-to-alloca optimization is going to happen.
The case that is missed is when the global variable is in a different address
space than the alloca (as shown in the example added to the lit test.)

This used to work before 6da31fa4a6

Differential Revision: https://reviews.llvm.org/D106573
2021-07-27 10:11:43 -07:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp [InstCombine] fold reassociative FP add into start value of fadd reduction 2021-07-18 06:26:20 -04:00
InstCombineAndOrXor.cpp [InstCombine] InstCombinerImpl::visitOr - enable bitreverse matching 2021-05-15 13:39:09 +01:00
InstCombineAtomicRMW.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineCalls.cpp [NFC][InstCombine] Fix typo 2021-07-27 11:33:10 +08:00
InstCombineCasts.cpp [InstCombine] Eliminate casts to optimize ctlz operation 2021-06-23 11:19:12 -04:00
InstCombineCompares.cpp [InstCombine] Fold IntToPtr/PtrToInt to bitcast 2021-07-18 23:13:25 +02:00
InstCombineInternal.h [InstCombine] Add freezeAllUsesOfArgument to visitFreeze 2021-07-24 18:08:58 +09:00
InstCombineLoadStoreAlloca.cpp Enabling the copy-constant-to-alloca optimization in more instances 2021-07-27 10:11:43 -07:00
InstCombineMulDivRem.cpp [InstCombine] Fold (sext bool X) * (sext bool X) to zext (and X, X) 2021-06-18 16:28:06 +07:00
InstCombineNegator.cpp [Transforms] Use range-based for loops (NFC) 2021-02-08 22:33:53 -08:00
InstCombinePHI.cpp [InstCombine] Don't combine PHI before catchswitch 2021-07-02 12:10:24 -07:00
InstCombineSelect.cpp [SVE] Add support for folding for select + masked loads 2021-07-26 11:58:41 +01:00
InstCombineShifts.cpp [InstCombine] Fold lshr/ashr(or(neg(x),x),bw-1) --> zext/sext(icmp_ne(x,0)) (PR50816) 2021-07-13 14:44:54 +01:00
InstCombineSimplifyDemanded.cpp [InsCombine] Fix a few remaining vec transforms to use poison instead of undef 2021-05-31 18:47:09 +09:00
InstCombineVectorOps.cpp [NFC] Fix a few whitespace issues and typos. 2021-07-04 11:49:58 +01:00
InstructionCombining.cpp [LLVM IR] Allow volatile stores to trap. 2021-07-26 10:51:00 -07:00