[PATCH] [ARM, Fix] Fix emitLeading/TrailingFence on old ARM processors

JF Bastien jfb at chromium.org
Fri Sep 12 10:13:58 PDT 2014


================
Comment at: lib/Target/ARM/ARMISelLowering.cpp:11003
@@ +11002,3 @@
+      auto LibCall = M->getOrInsertFunction("__sync_synchronize", FTy);
+      return Builder.CreateCall(LibCall, Builder.getInt32(0));
+    }
----------------
Is there a test for this call? We need to make sure it actually calls what you expect.

http://reviews.llvm.org/D5304






More information about the llvm-commits mailing list