Use MOV8rm to load 1 bit value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2005-12-15 00:59:17 +00:00
parent b5f8e62d71
commit f6036a3f1b

View File

@ -431,6 +431,9 @@ def MOV32mr : I<0x89, MRMDestMem, (ops i32mem:$dst, R32:$src),
"mov{l} {$src, $dst|$dst, $src}",
[(store R32:$src, addr:$dst)]>;
// Handling 1 bit load
def : Pat<(i1 (load addr:$src)), (MOV8rm addr:$src)>;
//===----------------------------------------------------------------------===//
// Fixed-Register Multiplication and Division Instructions...
//