aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.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/MachineInstr.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/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 1cc06e7..13673fb 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1263,8 +1263,7 @@ bool MachineInstr::isSafeToMove(AAResults *AA, bool &SawStore) const {
}
if (isPosition() || isDebugInstr() || isTerminator() ||
- mayRaiseFPException() || hasUnmodeledSideEffects() ||
- isJumpTableDebugInfo())
+ mayRaiseFPException() || hasUnmodeledSideEffects())
return false;
// See if this instruction does a load. If so, we have to guarantee that the