mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
X86FastISel support for loading and storing values of type i1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -64,3 +64,12 @@ define i8* @inttoptr_i32(i32 %p) nounwind {
|
||||
%t = inttoptr i32 %p to i8*
|
||||
ret i8* %t
|
||||
}
|
||||
|
||||
define void @store_i1(i1* %p, i1 %t) nounwind {
|
||||
store i1 %t, i1* %p
|
||||
ret void
|
||||
}
|
||||
define i1 @load_i1(i1* %p) nounwind {
|
||||
%t = load i1* %p
|
||||
ret i1 %t
|
||||
}
|
||||
|
Reference in New Issue
Block a user