1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/Transforms/InstCombine
Florian Hahn 5543ae6955 [InstCombine] Preserve !annotation on newly created instructions.
If the source instruction has !annotation metadata, all instructions
created during combining should also have it. Tell the builder to
add it.

The !annotation system was discussed on llvm-dev as part of
'RFC: Combining Annotation Metadata and Remarks'
(http://lists.llvm.org/pipermail/llvm-dev/2020-November/146393.html)

This patch is based on an earlier patch by Francis Visoiu Mistrih.

Reviewed By: thegameg, lebedev.ri

Differential Revision: https://reviews.llvm.org/D91444
2020-12-17 15:20:23 +00:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombineAddSub.cpp Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
InstCombineAndOrXor.cpp [InstCombine] Fold and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK) to and(sext(%x), SIGNMASK) 2020-11-20 00:31:27 +03:00
InstCombineAtomicRMW.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineCalls.cpp [SelectionDAG] Add llvm.vector.{extract,insert} intrinsics 2020-12-09 11:08:41 +00:00
InstCombineCasts.cpp [InstCombine] Remove scalable vector restriction in InstCombineCasts 2020-12-17 22:02:33 +08:00
InstCombineCompares.cpp [InstCombine] Remove scalable vector restriction in InstCombineCompares 2020-12-15 20:36:57 +08:00
InstCombineInternal.h [InstCombine] Remove replacePointer (NFC) 2020-12-06 10:24:08 -08:00
InstCombineLoadStoreAlloca.cpp [SVE][InstCombine] Fix TypeSize warning in canReplaceGEPIdxWithZero 2020-10-26 17:40:26 +00:00
InstCombineMulDivRem.cpp [InstCombine] Replace getLogBase2 internal helper with ConstantExpr::getExactLogBase2. NFCI. 2020-10-11 10:31:17 +01:00
InstCombineNegator.cpp [InstCombine] Negator: - (C - %x) --> %x - C (PR47997) 2020-11-03 16:06:51 +03:00
InstCombinePHI.cpp Add missing namespace closure comments. NFCI. 2020-09-23 16:19:25 +01:00
InstCombineSelect.cpp [InstCombine][NFC] Change cast of FixedVectorType to dyn_cast. 2020-12-15 20:36:57 +08:00
InstCombineShifts.cpp [InstCombine] canonicalize sign-bit-shift of difference to ext(icmp) 2020-12-01 09:58:11 -05:00
InstCombineSimplifyDemanded.cpp [InstCombine] Optimize away the unnecessary multi-use sign-extend 2020-12-01 16:54:00 +03:00
InstCombineVectorOps.cpp [InstCombine] Use is_contained (NFC) 2020-11-21 15:47:11 -08:00
InstructionCombining.cpp [InstCombine] Preserve !annotation on newly created instructions. 2020-12-17 15:20:23 +00:00