diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-27 00:31:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-27 00:31:47 +0000 |
commit | 7f0ca9a34ccc738dd0c47705e56e71277c5c2f64 (patch) | |
tree | e10d6ca1f48bcef1544077e5b0775f127909f269 /llvm/test/CodeGen/X86/fast-isel.ll | |
parent | a5f00ef3727f9d1bba945ed63b99584870889b6b (diff) | |
download | bcm5719-llvm-7f0ca9a34ccc738dd0c47705e56e71277c5c2f64.tar.gz bcm5719-llvm-7f0ca9a34ccc738dd0c47705e56e71277c5c2f64.zip |
X86FastISel support for loading and storing values of type i1.
llvm-svn: 80186
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel.ll b/llvm/test/CodeGen/X86/fast-isel.ll index a9a016b7d0f..8d6ddb4dbed 100644 --- a/llvm/test/CodeGen/X86/fast-isel.ll +++ b/llvm/test/CodeGen/X86/fast-isel.ll @@ -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 +} |