1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms/InstCombine
Christopher Tetreault 4a87d388fc [SVE] Fix invalid usage of VectorType::getNumElements() in InstCombine
Summary:
Make foldVectorBinop return null if the instruction type is a scalable
vector. It is unclear what, if any, of this function works with scalable
vectors.

Identified by test LLVM.Transforms/InstCombine::nsw.ll

Reviewers: efriedma, david-arm, fpetrogalli, spatel

Reviewed By: efriedma

Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79196
2020-05-01 10:56:29 -07:00
..
CMakeLists.txt [InstCombine] Negator - sink sinkable negations 2020-04-21 22:00:23 +03:00
InstCombineAddSub.cpp [InstCombine] Negator - sink sinkable negations 2020-04-21 22:00:23 +03:00
InstCombineAndOrXor.cpp Fix -Wparentheses warnings. NFC. 2020-04-24 15:04:01 -04:00
InstCombineAtomicRMW.cpp [NFC] Modernize misc. uses of Align/MaybeAlign APIs. 2020-04-06 17:53:04 -07:00
InstCombineCalls.cpp [NFC] Rename *ByValOrInalloca* to *PassPointeeByValue* 2020-04-30 09:42:13 -07:00
InstCombineCasts.cpp Upgrade users of 'new ShuffleVectorInst' to pass indices as an int array 2020-04-15 14:29:43 +02:00
InstCombineCompares.cpp [InstCombine] generalize canonicalization of masked equality comparisons 2020-04-25 11:31:57 -04:00
InstCombineInternal.h [InstCombine] Negator: 'or' with no common bits set is just 'add' 2020-04-28 19:16:32 +03:00
InstCombineLoadStoreAlloca.cpp [SVE] Remove calls to isScalable from Transforms 2020-04-23 13:50:07 -07:00
InstCombineMulDivRem.cpp Clean up usages of asserting vector getters in Type 2020-04-08 15:15:41 -07:00
InstCombineNegator.cpp [InstCombine] Negator: 'or' with no common bits set is just 'add' 2020-04-28 19:16:32 +03:00
InstCombinePHI.cpp [InstCombine] Use replaceOperand() in non zero phi transform 2020-03-31 21:54:21 +02:00
InstCombineSelect.cpp [InstCombine] fix miscompile from multi-use cttz/ctlz transform 2020-05-01 13:52:24 -04:00
InstCombineShifts.cpp [SVE] Update API ConstantVector::getSplat() to use ElementCount. 2020-03-12 13:22:41 -07:00
InstCombineSimplifyDemanded.cpp Upgrade calls to CreateShuffleVector to use the preferred form of passing an array of ints 2020-04-15 12:51:38 +02:00
InstCombineTables.td
InstCombineVectorOps.cpp Upgrade users of 'new ShuffleVectorInst' to pass indices as an int array 2020-04-15 14:29:43 +02:00
InstructionCombining.cpp [SVE] Fix invalid usage of VectorType::getNumElements() in InstCombine 2020-05-01 10:56:29 -07:00
LLVMBuild.txt