mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add proper checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154379 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b52ba49fdb
commit
fa12d0df5a
@ -147,7 +147,11 @@ declare i32 @c(i32)
|
||||
|
||||
@x = external global i32, align 4
|
||||
|
||||
define i32 @_Z5test1v() nounwind {
|
||||
define i32 @t9() nounwind {
|
||||
; CHECKT2D: t9:
|
||||
; CHECKT2D: blx __ZN9MutexLockC1Ev
|
||||
; CHECKT2D: blx __ZN9MutexLockD1Ev
|
||||
; CHECKT2D: b.w ___divsi3
|
||||
%lock = alloca %class.MutexLock, align 1
|
||||
%1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock)
|
||||
%2 = load i32* @x, align 4
|
||||
|
Loading…
Reference in New Issue
Block a user