From 725bd01c4be76538cf9606696b780415d901c040 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Thu, 25 Jul 2024 07:50:17 -0400 Subject: [PATCH] Fix pretty-printing for uinc_wrap and udec_wrap (#140) Fixes #139. --- src/Text/LLVM/PP.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Text/LLVM/PP.hs b/src/Text/LLVM/PP.hs index 184e7fc..a2c842d 100644 --- a/src/Text/LLVM/PP.hs +++ b/src/Text/LLVM/PP.hs @@ -560,8 +560,8 @@ ppAtomicOp AtomicFAdd = onlyOnLLVM 9 "AtomicFAdd" "fadd" ppAtomicOp AtomicFSub = onlyOnLLVM 9 "AtomicFSub" "fsub" ppAtomicOp AtomicFMax = onlyOnLLVM 15 "AtomicFMax" "fmax" ppAtomicOp AtomicFMin = onlyOnLLVM 15 "AtomicFMin" "fmin" -ppAtomicOp AtomicUIncWrap = onlyOnLLVM 16 "AtomicUIncWrap" "uincwrap" -ppAtomicOp AtomicUDecWrap = onlyOnLLVM 16 "AtomicUDecWrap" "udecwrap" +ppAtomicOp AtomicUIncWrap = onlyOnLLVM 16 "AtomicUIncWrap" "uinc_wrap" +ppAtomicOp AtomicUDecWrap = onlyOnLLVM 16 "AtomicUDecWrap" "udec_wrap" ppScope :: Fmt (Maybe String) ppScope Nothing = empty