[all-commits] [llvm/llvm-project] 505158: [AsmWriter] Fix printing of atomicrmw xchg with po...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Dec 13 03:49:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50515824c84dbc0194264791e7d802b61d57b81a
      https://github.com/llvm/llvm-project/commit/50515824c84dbc0194264791e7d802b61d57b81a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/test/Assembler/opaque-ptr.ll

  Log Message:
  -----------
  [AsmWriter] Fix printing of atomicrmw xchg with pointer op

atomicrmw always needs to print all types, even if the xchg value
type happens to be the same as the pointer operand type. This
couldn't occur prior to opaque pointers.




More information about the All-commits mailing list