File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
llvm/lib/Transforms/InstCombine Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2637,6 +2637,7 @@ Instruction *InstCombinerImpl::visitAnd(BinaryOperator &I) {
26372637 // This is a generous interpretation for noimplicitfloat, this is not a true
26382638 // floating-point operation.
26392639 //
2640+ // Assumes any IEEE-represented type has the sign bit in the high bit.
26402641 // TODO: Unify with APInt matcher. This version allows undef unlike m_APInt
26412642 Value *CastOp;
26422643 if (match (Op0, m_ElementWiseBitCast (m_Value (CastOp))) &&
@@ -4047,6 +4048,8 @@ Instruction *InstCombinerImpl::visitOr(BinaryOperator &I) {
40474048 // the number of instructions. This is still probably a better canonical form
40484049 // as it enables FP value tracking.
40494050 //
4051+ // Assumes any IEEE-represented type has the sign bit in the high bit.
4052+ //
40504053 // This is generous interpretation of noimplicitfloat, this is not a true
40514054 // floating-point operation.
40524055 Value *CastOp;
@@ -4850,6 +4853,7 @@ Instruction *InstCombinerImpl::visitXor(BinaryOperator &I) {
48504853 // This is generous interpretation of noimplicitfloat, this is not a true
48514854 // floating-point operation.
48524855 //
4856+ // Assumes any IEEE-represented type has the sign bit in the high bit.
48534857 // TODO: Unify with APInt matcher. This version allows undef unlike m_APInt
48544858 Value *CastOp;
48554859 if (match (Op0, m_ElementWiseBitCast (m_Value (CastOp))) &&
You can’t perform that action at this time.
0 commit comments