[PATCH] Terrible change as an example for CGO!

Kevin Frei freik at fb.com
Sat Feb 7 09:56:51 PST 2015


Thanks for doing the LLVM tutorial, but this code clearly needs more work :)


================
Comment at: lib/Transforms/Scalar/SROA.cpp:166
@@ +165,3 @@
+  void kill() {
+    static Use *BAD = (Use *)0x1;
+    UseAndIsSplittable.setPointer(BAD);
----------------
Wonderful sample code.

http://reviews.llvm.org/D7483

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list