diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-02 05:50:11 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-02 05:50:11 +0000 |
| commit | 5b353d31165c07afa310bf9ecfabcfa1bf9d5b82 (patch) | |
| tree | 787f880a9a329d2852482033938e95625f151d80 | |
| parent | f8e060f5895baa249ceb57d8d29526fc89aa2abd (diff) | |
| download | bcm5719-llvm-5b353d31165c07afa310bf9ecfabcfa1bf9d5b82.tar.gz bcm5719-llvm-5b353d31165c07afa310bf9ecfabcfa1bf9d5b82.zip | |
Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained.
llvm-svn: 32813
| -rw-r--r-- | llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll b/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll index 74d671b5d91..7264918a427 100644 --- a/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll +++ b/llvm/test/Regression/Assembler/2006-12-09-Cast-To-Bool.ll @@ -1,5 +1,5 @@ -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep bitcast -bool %main(int %X) { - %res = cast bool true to bool +; RUN: llvm-as < %s | llvm-dis | grep bitcast +define bool %main(i32 %X) { + %res = bitcast bool true to bool ret bool %res } |

