mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
revert r171306, since we cannot compare APInts with different bitwidths
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ef05b1a2a
commit
2e594fa85c
@ -562,7 +562,7 @@ SizeOffsetType ObjectSizeOffsetVisitor::visitPHINode(PHINode &PHI) {
|
||||
SizeOffsetType ObjectSizeOffsetVisitor::visitSelectInst(SelectInst &I) {
|
||||
SizeOffsetType TrueSide = compute(I.getTrueValue());
|
||||
SizeOffsetType FalseSide = compute(I.getFalseValue());
|
||||
if (TrueSide == FalseSide)
|
||||
if (bothKnown(TrueSide) && bothKnown(FalseSide) && TrueSide == FalseSide)
|
||||
return TrueSide;
|
||||
return unknown();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user