llvm-project/llvm/lib/Transforms
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
..
AggressiveInstCombine [ConstantFolding] Always return something from ConstantFoldConstant 2020-03-04 18:24:47 +01:00
CFGuard Add missing newlines at EOF; NFC 2020-02-12 15:57:25 +00:00
Coroutines [Coroutines] Simplify implementation using removePredecessor 2020-04-03 09:20:07 +08:00
Hello Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IPO [Attributor] Deduce attributes for non-exact functions 2020-04-04 11:34:58 -05:00
InstCombine [InstCombine] Don't limit uses in eraseInstFromFunction() 2020-04-04 18:37:30 +02:00
Instrumentation Remove "mask" operand from shufflevector. 2020-03-31 13:08:59 -07:00
ObjCARC [ObjC][ARC] Don't remove autoreleaseRV/retainRV pairs if the call isn't 2020-03-13 13:52:14 -07:00
Scalar [Reassociate] Use IRBuilderBase; NFC 2020-04-04 12:34:16 +02:00
Utils [VNCoercion] Use IRBuilderBase; NFC 2020-04-04 12:44:50 +02:00
Vectorize [VectorCombine] try to form a better extractelement 2020-04-03 13:55:13 -04:00
CMakeLists.txt Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
LLVMBuild.txt Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00