now, and this wasn't comparing some of their relevant bits anyhow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124976
91177308-0d34-0410-b5e6-
96231b3b80d8
C1 == ConstantExpr::getBitCast(const_cast<Constant*>(C2), C1->getType());
}
- if (isa<InlineAsm>(V1) && isa<InlineAsm>(V2)) {
- const InlineAsm *IA1 = cast<InlineAsm>(V1);
- const InlineAsm *IA2 = cast<InlineAsm>(V2);
- return IA1->getAsmString() == IA2->getAsmString() &&
- IA1->getConstraintString() == IA2->getConstraintString();
- }
+ if (isa<InlineAsm>(V1) || isa<InlineAsm>(V2))
+ return V1 == V2;
unsigned long &ID1 = Map1[V1];
if (!ID1)