OSDN Git Service

[InstCombine] remove stale comments; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 8 Jan 2019 22:52:08 +0000 (22:52 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 8 Jan 2019 22:52:08 +0000 (22:52 +0000)
These changed with rL350672.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350674 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/rotate.ll

index 4b51600..abfe74d 100644 (file)
@@ -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) {