diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-09 23:34:39 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-09 23:34:39 +0000 |
| commit | 169f7b299c423c559395fc3507798901439271ed (patch) | |
| tree | b939a6bbd682f4217db67dc38c58c09a815b4ded | |
| parent | b86ab650f63192e1fd41a3690f730f8ecca6537f (diff) | |
| download | bcm5719-llvm-169f7b299c423c559395fc3507798901439271ed.tar.gz bcm5719-llvm-169f7b299c423c559395fc3507798901439271ed.zip | |
xor x, ALLONES should -> not x
llvm-svn: 3285
| -rw-r--r-- | llvm/test/Regression/Transforms/InstCombine/or.ll | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/or.ll b/llvm/test/Regression/Transforms/InstCombine/or.ll index 1f85ea2c49c..18881a23175 100644 --- a/llvm/test/Regression/Transforms/InstCombine/or.ll +++ b/llvm/test/Regression/Transforms/InstCombine/or.ll @@ -48,6 +48,11 @@ int "test8"(int %A) { ret int %B } +int %testXOR9(int %A) { + %B = xor int %A, -1 + ret int %B +} + bool "test9"(bool %A) { %B = or bool %A, %A ret bool %B @@ -58,5 +63,8 @@ int "test10"(int %A) { ret int %B } - +bool %test11(bool %A) { + %B = xor bool %A, true + ret bool %B +} |

