From bad24064090cddab99eebaa143e8af159a1f3d5b Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Tue, 8 Jan 2019 22:52:08 +0000 Subject: [PATCH] [InstCombine] remove stale comments; NFC These changed with rL350672. llvm-svn: 350674 --- llvm/test/Transforms/InstCombine/rotate.ll | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/test/Transforms/InstCombine/rotate.ll b/llvm/test/Transforms/InstCombine/rotate.ll index 4b51600..abfe74d 100644 --- a/llvm/test/Transforms/InstCombine/rotate.ll +++ b/llvm/test/Transforms/InstCombine/rotate.ll @@ -206,7 +206,6 @@ define <3 x i42> @rotr_v3i42(<3 x i42> %x, <3 x i42> %y) { ret <3 x i42> %r } -; TODO: ; This is the canonical pattern for a UB-safe rotate-by-variable with power-of-2-size scalar type. ; The backend expansion of funnel shift for targets that don't have a rotate instruction should ; match the original IR, so it is always good to canonicalize to the intrinsics for this pattern. @@ -225,7 +224,6 @@ define i32 @rotl_safe_i32(i32 %x, i32 %y) { ret i32 %r } -; TODO: ; Extra uses don't change anything. define i16 @rotl_safe_i16_commute_extra_use(i16 %x, i16 %y, i16* %p) { @@ -246,7 +244,6 @@ define i16 @rotl_safe_i16_commute_extra_use(i16 %x, i16 %y, i16* %p) { ret i16 %r } -; TODO: ; Left/right is determined by the negation. define i64 @rotr_safe_i64(i64 %x, i64 %y) { @@ -263,7 +260,6 @@ define i64 @rotr_safe_i64(i64 %x, i64 %y) { ret i64 %r } -; TODO: ; Extra uses don't change anything. define i8 @rotr_safe_i8_commute_extra_use(i8 %x, i8 %y, i8* %p) { @@ -287,7 +283,6 @@ define i8 @rotr_safe_i8_commute_extra_use(i8 %x, i8 %y, i8* %p) { ret i8 %r } -; TODO: ; Vectors follow the same rules. define <2 x i32> @rotl_safe_v2i32(<2 x i32> %x, <2 x i32> %y) { @@ -304,7 +299,6 @@ define <2 x i32> @rotl_safe_v2i32(<2 x i32> %x, <2 x i32> %y) { ret <2 x i32> %r } -; TODO: ; Vectors follow the same rules. define <3 x i16> @rotr_safe_v3i16(<3 x i16> %x, <3 x i16> %y) { -- 2.7.4