Skip to content

Commit 852f3d9

Browse files
Revert "[NFC] Run clang-format on llvm/lib/Target/X86/X86InstroInfo.cpp"
This reverts commit 8bef547. Need to revert, update commit message and reapply.
1 parent da82338 commit 852f3d9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/lib/Target/X86/X86InstrInfo.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,12 +1049,11 @@ static bool findRedundantFlagInstr(MachineInstr &CmpInstr,
10491049
// in the `AND` and `TEST` operation; signed bit is not known for `AND`,
10501050
// and is known to be 0 as a result of `TEST64rr`.
10511051
//
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+
//
10581057
NoSignFlag = true;
10591058
// ClearsOverflowFlag is true for AND operation (no surprise).
10601059
ClearsOverflowFlag = true;

0 commit comments

Comments
 (0)