commit | b59f15a1d2c40f978d93f43b006546f455a65f04 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Aug 27 00:31:47 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Aug 27 00:31:47 2009 +0000 |
tree | 380c5e7055f5d2eb6a78bc141026d92a91ddb8e2 | |
parent | 29b998f5248398e6cfe323a5ebd7419bb77975b4 [diff] [blame] |
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
diff --git a/test/CodeGen/X86/fast-isel.ll b/test/CodeGen/X86/fast-isel.ll index a9a016b..8d6ddb4 100644 --- a/test/CodeGen/X86/fast-isel.ll +++ b/test/CodeGen/X86/fast-isel.ll
@@ -64,3 +64,12 @@ %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 +}