diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-27 05:47:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-27 05:47:54 +0000 |
commit | d0ba2a9c146df8deb355fd5e375f52671109600f (patch) | |
tree | 8be940e034d6e97828cebb2c98fd336a19a5ed03 /lib/CodeGen/PrologEpilogInserter.cpp | |
parent | d36531249a9a9500e516148e7e72d4c0a7a4d0ee (diff) |
Compile x86-64-and-mask.ll into:
_test:
movl %edi, %eax
ret
instead of:
_test:
movl $4294967295, %ecx
movq %rdi, %rax
andq %rcx, %rax
ret
It would be great to write this as a Pat pattern that used subregs
instead of a 'pseudo' instruction, but I don't know how to do that
in td files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions