aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2023-08-25 18:21:00 -0700
committerArthur Eubanks <aeubanks@google.com>2023-08-25 18:34:15 -0700
commit0a4fc4ac1c6e74eba7eb184d3da11772a06df65f (patch)
tree7a4609631f01ed99dc348b70c1f04c7bcd446069 /llvm/lib/CodeGen/MachineCSE.cpp
parent08ed557714eed7f5cde9d1c5606f58280683884a (diff)
downloadllvm-0a4fc4ac1c6e74eba7eb184d3da11772a06df65f.zip
llvm-0a4fc4ac1c6e74eba7eb184d3da11772a06df65f.tar.gz
llvm-0a4fc4ac1c6e74eba7eb184d3da11772a06df65f.tar.bz2
Revert "Emit the CodeView `S_ARMSWITCHTABLE` debug symbol for jump tables"
This reverts commit 8d0c3db388143f4e058b5f513a70fd5d089d51c3. Causes crashes, see comments in https://reviews.llvm.org/D149367. Some follow-up fixes are also reverted: This reverts commit 636269f4fca44693bfd787b0a37bb0328ffcc085. This reverts commit 5966079cf4d4de0285004eef051784d0d9f7a3a6. This reverts commit e7294dbc85d24a08c716d9babbe7f68390cf219b.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCSE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineCSE.cpp b/llvm/lib/CodeGen/MachineCSE.cpp
index 89c4562..8bd7eae 100644
--- a/llvm/lib/CodeGen/MachineCSE.cpp
+++ b/llvm/lib/CodeGen/MachineCSE.cpp
@@ -407,7 +407,7 @@ bool MachineCSE::PhysRegDefsReach(MachineInstr *CSMI, MachineInstr *MI,
bool MachineCSE::isCSECandidate(MachineInstr *MI) {
if (MI->isPosition() || MI->isPHI() || MI->isImplicitDef() || MI->isKill() ||
- MI->isInlineAsm() || MI->isDebugInstr() || MI->isJumpTableDebugInfo())
+ MI->isInlineAsm() || MI->isDebugInstr())
return false;
// Ignore copies.