diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-04 06:02:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-04 06:02:36 +0000 |
| commit | ba66f8e1ad950402b552ff7564b28ee1ba50d650 (patch) | |
| tree | c17cd85d6cf1cfc5720ed0291d32f3d702a371f6 | |
| parent | 6dc73297c3c42ae332f58dfc2f325b66521d87d1 (diff) | |
| download | bcm5719-llvm-ba66f8e1ad950402b552ff7564b28ee1ba50d650.tar.gz bcm5719-llvm-ba66f8e1ad950402b552ff7564b28ee1ba50d650.zip | |
new testcase
llvm-svn: 26518
| -rw-r--r-- | llvm/test/Regression/Transforms/InstCombine/add.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/add.ll b/llvm/test/Regression/Transforms/InstCombine/add.ll index 3de3f333102..52dfc39ef4c 100644 --- a/llvm/test/Regression/Transforms/InstCombine/add.ll +++ b/llvm/test/Regression/Transforms/InstCombine/add.ll @@ -213,3 +213,10 @@ long %test30(long %x) { %tmp.4 = add long %tmp.2, -9223372036854775808 ret long %tmp.4 } + +int %test31(int %A) { + %B = add int %A, 4 + %C = mul int %B, 5 + %D = sub int %C, 20 + ret int %D +} |

