diff --git a/test/Regression/Transforms/InstCombine/shift.ll b/test/Regression/Transforms/InstCombine/shift.ll index dde01f56586..c6a341f454f 100644 --- a/test/Regression/Transforms/InstCombine/shift.ll +++ b/test/Regression/Transforms/InstCombine/shift.ll @@ -33,3 +33,7 @@ uint "test5"(uint %A) { ret uint %B } +uint %test6(uint %A) { + %B = shl uint %A, ubyte 1 ;; convert to an add instruction + ret uint %B +}