Handle (store &GV -> mem) as a store immediate. This often occurs for
authorChris Lattner <sabre@nondot.org>
Thu, 21 Apr 2005 19:03:24 +0000 (19:03 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Apr 2005 19:03:24 +0000 (19:03 +0000)
commit75f354bd7a0e59c3e7ba488db2bb5113bc13cdfe
treedf0921e9a536f0d1d1ec1d45afcb3f0616fe2e59
parent8e827e866176621a60f11340fd44401a0d594de7
Handle (store &GV -> mem) as a store immediate.  This often occurs for
printf format strings and other stuff.  Instead of generating this:

        movl $l1__2E_str_1, %eax
        movl %eax, (%esp)

we now emit:

        movl $l1__2E_str_1, (%esp)

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