Handle stores of global address as stores of immediates. Instead of:
authorChris Lattner <sabre@nondot.org>
Thu, 21 Apr 2005 19:11:03 +0000 (19:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Apr 2005 19:11:03 +0000 (19:11 +0000)
commit109026290b3b07152322e65801edb51dccfe7ddc
tree7d02ed863e6a7f513a5c88ae8083f2372d46f79d
parent75f354bd7a0e59c3e7ba488db2bb5113bc13cdfe
Handle stores of global address as stores of immediates.  Instead of:

test1:
        movl $N, %eax
        movl %eax, G
        ret

emit:

test1:
        movl $N, G
        ret

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