1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms
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
..
AggressiveInstCombine
CFGuard
Coroutines
Hello
InstCombine [SVE] Fix invalid usage of VectorType::getNumElements() in InstCombine 2020-05-01 10:56:29 -07:00
Instrumentation
IPO [NFC] Rename *ByValOrInalloca* to *PassPointeeByValue* 2020-04-30 09:42:13 -07:00
ObjCARC
Scalar [SCCP] Get a copy of the state of CopyOf once. 2020-05-01 14:46:35 +01:00
Utils [LoopVersioning] Update setAliasChecks to take ArrayRef argument (NFC). 2020-04-30 22:17:12 +01:00
Vectorize
CMakeLists.txt
LLVMBuild.txt