summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-07-09 17:48:08 +0000
committerSanjay Patel <spatel@rotateright.com>2018-07-09 17:48:08 +0000
commit651438c2f68200115d1d327ecd597e2cb5a0e650 (patch)
tree2e8b105c55d86adab9db4ed18835286d9eaf3cd0
parent2622e9e5b3d658aacaf50aca44ecfdeeacbaf064 (diff)
downloadbcm5719-llvm-651438c2f68200115d1d327ecd597e2cb5a0e650.tar.gz
bcm5719-llvm-651438c2f68200115d1d327ecd597e2cb5a0e650.zip
[InstCombine] correct test comments; NFC
llvm-svn: 336570
-rw-r--r--llvm/test/Transforms/InstCombine/shuffle_select.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/shuffle_select.ll b/llvm/test/Transforms/InstCombine/shuffle_select.ll
index f997817bde6..a470e688bc0 100644
--- a/llvm/test/Transforms/InstCombine/shuffle_select.ll
+++ b/llvm/test/Transforms/InstCombine/shuffle_select.ll
@@ -1023,7 +1023,7 @@ define <4 x i32> @lshr_2_vars_exact(<4 x i32> %v0, <4 x i32> %v1) {
ret <4 x i32> %t3
}
-; TODO: This could be transformed by using a safe constant.
+; TODO: This would require a new shuffle mask (replace undef with op0 or op1 lane). Otherwise, we have shift-by-undef.
define <4 x i32> @lshr_2_vars_undef_mask_elt(<4 x i32> %v0, <4 x i32> %v1) {
; CHECK-LABEL: @lshr_2_vars_undef_mask_elt(
@@ -1038,7 +1038,7 @@ define <4 x i32> @lshr_2_vars_undef_mask_elt(<4 x i32> %v0, <4 x i32> %v1) {
ret <4 x i32> %t3
}
-; TODO: This could be transformed by using a safe constant.
+; TODO: This would require a new shuffle mask (replace undef with op0 or op1 lane). Otherwise, we have shift-by-undef.
define <4 x i32> @lshr_2_vars_exact_undef_mask_elt(<4 x i32> %v0, <4 x i32> %v1) {
; CHECK-LABEL: @lshr_2_vars_exact_undef_mask_elt(
OpenPOWER on IntegriCloud