File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1049,12 +1049,11 @@ static bool findRedundantFlagInstr(MachineInstr &CmpInstr,
1049
1049
// in the `AND` and `TEST` operation; signed bit is not known for `AND`,
1050
1050
// and is known to be 0 as a result of `TEST64rr`.
1051
1051
//
1052
- // FIXME: As opposed to poisoning the SF bit directly, consider peeking into
1053
- // the AND instruction and using the static information to guide peephole
1054
- // optimization if possible. For example, it's possible to fold a
1055
- // conditional move into a copy if the relevant EFLAG bits could be deduced
1056
- // from an immediate operand of and operation.
1057
- //
1052
+ // FIXME: As opposed to poisoning the SF bit direclty, consider peeking into
1053
+ // the AND instruction and using the static information to guide peephole optimization if possible.
1054
+ // For example, it's possible to fold a conditional move into a copy
1055
+ // if the relevant EFLAG bits could be deduced from an immediate operand of and operation.
1056
+ //
1058
1057
NoSignFlag = true ;
1059
1058
// ClearsOverflowFlag is true for AND operation (no surprise).
1060
1059
ClearsOverflowFlag = true ;
You can’t perform that action at this time.
0 commit comments