File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1049,11 +1049,12 @@ 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 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
- //
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
+ //
1057
1058
NoSignFlag = true ;
1058
1059
// ClearsOverflowFlag is true for AND operation (no surprise).
1059
1060
ClearsOverflowFlag = true ;
You can’t perform that action at this time.
0 commit comments