[PATCH] [CodeGen] Annotate signed shift lefts with NUW

Richard Smith richard at metafoo.co.uk
Wed Apr 8 11:29:09 PDT 2015


LGTM


================
Comment at: test/CodeGen/compound-type.c:1-3
@@ -1,4 +1,4 @@
 // RUN: %clang_cc1 < %s -emit-llvm -triple i686-pc-linux-gnu > %t
 // RUN: grep "div i32" %t
-// RUN: grep "shl i32" %t
+// RUN: grep "shl nuw i32" %t
 
----------------
Can I persuade you to FileCheck-ize this test while you're here?

http://reviews.llvm.org/D8899

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






More information about the cfe-commits mailing list