[PATCH] [SLSR] handles off bounds GEPs
Mark Heffernan
meheff at google.com
Thu Apr 2 13:57:24 PDT 2015
LGTM. Thanks!
================
Comment at: test/Transforms/StraightLineStrengthReduce/slsr-gep.ll:112
@@ +111,3 @@
+define i32 @slsr_offbound_gep(i32* %input, i32 %s) {
+; CHECK-LABEL: @slsr_offbound_gep(
+ ; v0 = input[0];
----------------
nit: "out of bounds" is probably the term you want to use, not "off bounds".
http://reviews.llvm.org/D8809
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list