mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 15:33:16 +00:00
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:
parent
b5f8e62d71
commit
f6036a3f1b
@ -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...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user