diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-03 01:48:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-03 01:48:04 +0000 |
commit | fe5e584cd9df2e1c4c593137d0b5ab696e2d7e36 (patch) | |
tree | 17f6ba366e7cc861329bcf1534aedb0b40c5423a /test/Feature/basictest.ll | |
parent | b00c582b6d40e6b9ff2d1ed4f5eaf7930e792ace (diff) | |
download | external_llvm-fe5e584cd9df2e1c4c593137d0b5ab696e2d7e36.zip external_llvm-fe5e584cd9df2e1c4c593137d0b5ab696e2d7e36.tar.gz external_llvm-fe5e584cd9df2e1c4c593137d0b5ab696e2d7e36.tar.bz2 |
Modify testcases for new LLVM const syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@698 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/basictest.ll')
-rw-r--r-- | test/Feature/basictest.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Feature/basictest.ll b/test/Feature/basictest.ll index 0a2fd3e..ac429fa 100644 --- a/test/Feature/basictest.ll +++ b/test/Feature/basictest.ll @@ -1,7 +1,7 @@ implementation void "test function"(int %i0, int %j0) - %x = int 1 + %x = const int 1 begin Startup: ; Basic block #0 %i1 = add int %i0, 1 @@ -28,8 +28,8 @@ end ; format looks anyways (except for negative vs positive offsets)... ; void "void"(int, int) ; Def %0, %1 - int 0 ; Def 2 - int -4 ; Def 3 + const int 0 ; Def 2 + const int -4 ; Def 3 begin add int %0, %1 ; Def 4 sub int %4, %3 ; Def 5 @@ -44,8 +44,8 @@ end ; This function always returns zero int "zarro"() - uint 4000000000 ; Def 0 - uint plane - int 0 ; Def 0 - int plane + const uint 4000000000 ; Def 0 - uint plane + const int 0 ; Def 0 - int plane begin Startup: ret int %0 |