[PATCH] Port memory barriers intrinsics to AArch64

Saleem Abdulrasool compnerd at compnerd.org
Tue Jul 15 19:38:58 PDT 2014


================
Comment at: lib/Target/AArch64/AArch64InstrFormats.td:830
@@ +829,3 @@
+class CRmSystemI<Operand crmtype, bits<3> opc, string asm,
+                 list<dag> pattern = []>
+    : SimpleSystemI<0, (ins crmtype:$CRm), asm, "\t$CRm", pattern>,
----------------
I guess that I should've done this when I was changing the other System instructions.

================
Comment at: test/CodeGen/AArch64/intrinsics-memory-barrier.ll:1
@@ +1,2 @@
+; RUN: llc < %s -mtriple=aarch64 -O=3 | FileCheck %s
+
----------------
Can you use aarch64-eabi please?

http://reviews.llvm.org/D4520






More information about the llvm-commits mailing list