llvm-project/llvm/lib/Transforms/InstCombine
Nikita Popov 4ede730096 [InstCombine] Don't limit uses in eraseInstFromFunction()
eraseInstFromFunction() adds the operands of the erased instructions,
as those might now be dead as well. However, this is limited to
instructions with less than 8 operands.

This check doesn't make a lot of sense to me. As the instruction
gets removed afterwards, I don't see a potential for anything
overly pathological happening here (as we can only add those
operands to the worklist once). The impact on CTMark is in
the noise. We also have the same code in instruction sinking
and don't limit the operand count there.

Differential Revision: https://reviews.llvm.org/D77325
2020-04-04 18:37:30 +02: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 [InstCombine] Fix worklist management in foldXorOfICmps() 2020-03-28 18:25:21 +01:00
InstCombineAtomicRMW.cpp [InstCombine] Use replaceOperand() in more places 2020-02-11 17:38:23 +01:00
InstCombineCalls.cpp InstCombine: Reduce minnum/maxnum if inputs are casted 2020-04-03 11:57:25 -04:00
InstCombineCasts.cpp Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
InstCombineCompares.cpp [InstCombine] add tests for cmyk benchmark; NFC 2020-04-02 13:00:46 -04:00
InstCombineInternal.h [InstCombine] Don't limit uses in eraseInstFromFunction() 2020-04-04 18:37:30 +02:00
InstCombineLoadStoreAlloca.cpp [InstCombine][SVE] Fix InstCombiner::visitAllocaInst for scalable vector. 2020-03-18 20:57:14 -07:00
InstCombineMulDivRem.cpp [InstCombine] Use replaceOperand() in div transforms 2020-04-01 19:55:00 +02:00
InstCombinePHI.cpp [InstCombine] Use replaceOperand() in non zero phi transform 2020-03-31 21:54:21 +02:00
InstCombineSelect.cpp [InstCombine] Use replaceOperand() in some select transforms 2020-03-31 22:10:55 +02:00
InstCombineShifts.cpp [SVE] Update API ConstantVector::getSplat() to use ElementCount. 2020-03-12 13:22:41 -07:00
InstCombineSimplifyDemanded.cpp Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
InstCombineTables.td InstCombine/AMDGPU: Add dimension-aware image intrinsics to SimplifyDemanded 2018-06-21 13:37:31 +00:00
InstCombineVectorOps.cpp [InstCombine] try to reduce shuffle with bitcasted operand 2020-04-02 13:44:50 -04:00
InstructionCombining.cpp [InstCombine] enhance freelyNegateValue() by handling xor 2020-04-01 15:05: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