GaloisInc/llvm-pretty

Pretty-printing for `uinc_wrap` and `udec_wrap` is incorrect

Closed this issue · 0 comments

#138 added support for the atomic uinc_wrap and udec_wrap operations, but the pretty-printing code is incorrect:

ppAtomicOp AtomicUIncWrap = onlyOnLLVM 16 "AtomicUIncWrap" "uincwrap"
ppAtomicOp AtomicUDecWrap = onlyOnLLVM 16 "AtomicUDecWrap" "udecwrap"

Per the LLVM commit which introduced these operations, these should be printed as uinc_wrap and udec_wrap, not uincwrap and udecwrap.