mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Revert "GlobalISel: Use & operator on KnownBits"
This reverts commit e53b799779b079a70f600e5cad2ab7267d66b1b7. Confusingly, this does not simply and the two sets of known bits, but implements known bits for the and operator.
This commit is contained in:
parent
2df7657efb
commit
bb532337e4
@ -110,7 +110,8 @@ void GISelKnownBits::computeKnownBitsMin(Register Src0, Register Src1,
|
||||
computeKnownBitsImpl(Src0, Known2, DemandedElts, Depth);
|
||||
|
||||
// Only known if known in both the LHS and RHS.
|
||||
Known &= Known2;
|
||||
Known.Zero &= Known.Zero;
|
||||
Known.One &= Known.One;
|
||||
}
|
||||
|
||||
void GISelKnownBits::computeKnownBitsImpl(Register R, KnownBits &Known,
|
||||
|
Loading…
Reference in New Issue
Block a user