diff options
-rw-r--r-- | test/Transforms/InstCombine/add.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll index 52dfc39ef4..81ab29a096 100644 --- a/test/Transforms/InstCombine/add.ll +++ b/test/Transforms/InstCombine/add.ll @@ -220,3 +220,10 @@ int %test31(int %A) { %D = sub int %C, 20 ret int %D } + +int %test32(int %A) { + %B = add int %A, 4 + %C = shl int %B, ubyte 2 + %D = sub int %C, 16 + ret int %D +} |