[llvm] r350674 - [InstCombine] remove stale comments; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 8 14:52:08 PST 2019


Author: spatel
Date: Tue Jan  8 14:52:08 2019
New Revision: 350674

URL: http://llvm.org/viewvc/llvm-project?rev=350674&view=rev
Log:
[InstCombine] remove stale comments; NFC

These changed with rL350672.

Modified:
    llvm/trunk/test/Transforms/InstCombine/rotate.ll

Modified: llvm/trunk/test/Transforms/InstCombine/rotate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/rotate.ll?rev=350674&r1=350673&r2=350674&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/rotate.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/rotate.ll Tue Jan  8 14:52:08 2019
@@ -206,7 +206,6 @@ define <3 x i42> @rotr_v3i42(<3 x i42> %
   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_
   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_us
   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 i
   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) {




More information about the llvm-commits mailing list