[PATCH] Exploit dereferenceable_or_null attribute in LICM pass

Artur Pilipenko apilipenko at azulsystems.com
Thu May 7 03:41:28 PDT 2015


================
Comment at: test/Transforms/LICM/hoist-deref-load.ll:226
@@ +225,3 @@
+
+define i1 @test6(i32* noalias nocapture %a, i32* noalias nocapture readonly %b, i32* nocapture readonly dereferenceable_or_null(4) %c, i32 %n) #0 {
+entry:
----------------
reames wrote:
> Please remove any unnecessary attributes.  Sorry for not noticing that before.
Does it makes sense to remove them from existing test cases as well?

http://reviews.llvm.org/D9253

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






More information about the llvm-commits mailing list