diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-09-07 12:18:01 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-09-07 12:18:57 -0400 |
commit | 465a0a02de8c2cc593698457fd1e7ad183dc3c5f (patch) | |
tree | b96f9f7adbe32eff88fa337b99b63735bc065ecc | |
parent | 5b41353355022c1247e0516d541b7f7fb49f0e29 (diff) | |
download | haskell-wip/T18183.tar.gz |
ncg: Kill incorrect unreachable codewip/T18183
As noted in #18183, these cases were previously incorrect and unused.
Closes #18183.
-rw-r--r-- | compiler/GHC/CmmToAsm/X86/CodeGen.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/CmmToAsm/X86/CodeGen.hs b/compiler/GHC/CmmToAsm/X86/CodeGen.hs index 1ab24c4a25..8357662a9c 100644 --- a/compiler/GHC/CmmToAsm/X86/CodeGen.hs +++ b/compiler/GHC/CmmToAsm/X86/CodeGen.hs @@ -3439,9 +3439,9 @@ outOfLineCmmOp bid mop res args MO_Pdep w -> pdepLabel w MO_Pext w -> pextLabel w - MO_AtomicRMW _ _ -> fsLit "atomicrmw" - MO_AtomicRead _ -> fsLit "atomicread" - MO_AtomicWrite _ -> fsLit "atomicwrite" + MO_AtomicRMW _ _ -> unsupported + MO_AtomicRead _ -> unsupported + MO_AtomicWrite _ -> unsupported MO_Cmpxchg w -> cmpxchgLabel w -- for W64 on 32-bit -- TODO: implement -- cmpxchg8b instr |