Pass boolean constants into function calls more efficiently, generating:
authorChris Lattner <sabre@nondot.org>
Wed, 12 May 2004 16:35:04 +0000 (16:35 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 May 2004 16:35:04 +0000 (16:35 +0000)
commit2b10b08ad623148fd6f7dcb7f2436bbe866c36d1
tree2b4063a1b3519250b748d049664186a7d5a528b6
parent587992721c3112c94000722941748cf46cd0bce6
Pass boolean constants into function calls more efficiently, generating:

        mov DWORD PTR [%ESP + 4], 1

instead of:

        mov %EAX, 1
        mov DWORD PTR [%ESP + 4], %EAX

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13494 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp