1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +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 [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
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 InstCombine/AMDGPU: Add dimension-aware image intrinsics to SimplifyDemanded 2018-06-21 13:37:31 +00:00
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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00