[PATCH] D27333: DAG: Fold out out of bounds insert_vector_elt
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 10:16:20 PST 2016
efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.
LGTM with the PPC test fixed.
================
Comment at: test/CodeGen/PowerPC/vec_add_sub_quadword.ll:27
; CHECK-LABEL: @increment_by_val
-; CHECK: vadduqm 2, 2, 3
+; CHECK: # BB#0:
+; CHECK-NEXT: blr
----------------
Please fix to generate vadduqm.
================
Comment at: test/CodeGen/PowerPC/vec_add_sub_quadword.ll:53
+; CHECK: # BB#0:
+; CHECK-NEXT: blr
}
----------------
Can you fix this test so it still generates a vsubuqm? Just make the subtract take tmpvec as input instead of tmpvec2.
https://reviews.llvm.org/D27333
More information about the llvm-commits
mailing list