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
Huihui Zhang 58a931b286 [SVE] Update API ConstantVector::getSplat() to use ElementCount.
Summary:
Support ConstantInt::get() and Constant::getAllOnesValue() for scalable
vector type, this requires ConstantVector::getSplat() to take in 'ElementCount',
instead of 'unsigned' number of element count.

This change is needed for D73753.

Reviewers: sdesmalen, efriedma, apazos, spatel, huntergr, willlovett

Reviewed By: efriedma

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74386
2020-03-12 13:22:41 -07:00
..
CMakeLists.txt
InstCombineAddSub.cpp [instcombine] remove fsub to fneg hacks; only emit fneg 2020-03-10 16:57:02 +01:00
InstCombineAndOrXor.cpp [InstCombin] Avoid nested Create calls, to guarantee order. 2020-02-18 09:44:11 +01:00
InstCombineAtomicRMW.cpp [InstCombine] Use replaceOperand() in more places 2020-02-11 17:38:23 +01:00
InstCombineCalls.cpp [InstCombine] Don't simplify calls without uses 2020-03-09 18:47:46 +01:00
InstCombineCasts.cpp [instcombine] remove fsub to fneg hacks; only emit fneg 2020-03-10 16:57:02 +01:00
InstCombineCompares.cpp [SVE] Update API ConstantVector::getSplat() to use ElementCount. 2020-03-12 13:22:41 -07:00
InstCombineInternal.h [InstCombine] DCE instructions earlier 2020-02-27 18:45:59 +01:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Fix infinite loop in min/max load/store bitcast combine (PR44835) 2020-02-08 16:55:22 +01:00
InstCombineMulDivRem.cpp Remove BinaryOperator::CreateFNeg 2020-02-27 09:06:03 -08:00
InstCombinePHI.cpp [WinEH] Fix inttoptr+phi optimization in presence of catchswitch 2020-03-01 07:49:28 -08:00
InstCombineSelect.cpp [instcombine] remove fsub to fneg hacks; only emit fneg 2020-03-10 16:57:02 +01:00
InstCombineShifts.cpp [SVE] Update API ConstantVector::getSplat() to use ElementCount. 2020-03-12 13:22:41 -07:00
InstCombineSimplifyDemanded.cpp [InstCombine] reduce demand-limited bool math to logic 2020-03-11 15:45:58 -04:00
InstCombineTables.td
InstCombineVectorOps.cpp [instcombine] remove fsub to fneg hacks; only emit fneg 2020-03-10 16:57:02 +01:00
InstructionCombining.cpp [InstCombine] fold gep-of-select-of-constants (PR45084) 2020-03-10 09:25:13 -04:00
LLVMBuild.txt