[PATCH] D77542: [PowerPC] Treat 'Z' inline asm constraint as a true memory constraint

Nemanja Ivanovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 03:36:38 PDT 2020


nemanjai marked an inline comment as done.
nemanjai added inline comments.


================
Comment at: clang/test/CodeGen/ppc64-inline-asm.c:50
+// CHECK-LABEL: void @testZwOff(i8* %addr, i64 %off)
+// CHEC: %[[VAL:[^ ]+]] = getelementptr i8, i8* %addr, i64 %off
+// CHEC: call void asm sideeffect "dcbz ${0:y}\0A", "*Z,~{memory}"(i8* %[[VAL]])
----------------
amyk wrote:
> Missing a `k` in `CHECK`?
Great catch! Thank you.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77542/new/

https://reviews.llvm.org/D77542





More information about the cfe-commits mailing list