diff options
author | Thorsten Schütt <schuett@gmail.com> | 2024-10-30 17:03:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 17:03:17 +0100 |
commit | 4b028773b2c977eb8494a39e4b3fb2f114d1e2b5 (patch) | |
tree | 5a78b3e10825a8a4fc2ca61b995c8359e9f3e70a /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | eac2c182c6f852fc187af9952250a43d6fb17b28 (diff) | |
download | llvm-4b028773b2c977eb8494a39e4b3fb2f114d1e2b5.zip llvm-4b028773b2c977eb8494a39e4b3fb2f114d1e2b5.tar.gz llvm-4b028773b2c977eb8494a39e4b3fb2f114d1e2b5.tar.bz2 |
Revert "[GlobalISel] Import samesign flag" (#114256)
Reverts llvm/llvm-project#113090
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 941861d..c1bd0bb 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -596,11 +596,6 @@ uint32_t MachineInstr::copyFlagsFromInstruction(const Instruction &I) { MIFlags |= MachineInstr::MIFlag::Disjoint; } - // Copy the samesign flag. - if (const ICmpInst *ICmp = dyn_cast<ICmpInst>(&I)) - if (ICmp->hasSameSign()) - MIFlags |= MachineInstr::MIFlag::SameSign; - // Copy the exact flag. if (const PossiblyExactOperator *PE = dyn_cast<PossiblyExactOperator>(&I)) if (PE->isExact()) @@ -1775,8 +1770,6 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST, OS << "nneg "; if (getFlag(MachineInstr::Disjoint)) OS << "disjoint "; - if (getFlag(MachineInstr::SameSign)) - OS << "samesign "; // Print the opcode name. if (TII) |