mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit.
If someone prefers %tmp42 to %42, run instnamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -221,8 +221,7 @@ void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem,
|
||||
return;
|
||||
|
||||
ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ,
|
||||
Rem->getOperand(0), Rem->getOperand(1),
|
||||
"tmp");
|
||||
Rem->getOperand(0), Rem->getOperand(1));
|
||||
SelectInst *Sel =
|
||||
SelectInst::Create(ICmp,
|
||||
ConstantInt::get(Rem->getType(), 0),
|
||||
|
Reference in New Issue
Block a user