[x86] add more tests for LEA formation; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 16 Apr 2019 18:58:03 +0000 (18:58 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 16 Apr 2019 18:58:03 +0000 (18:58 +0000)
commitf136c46bd64cb6d4847922c7be7e18b2b2415f75
tree95d1b8c5628e903880e7cc8119eede1445ab4d5a
parent79dffc67b50e55e3294a6d0391e97b06c7030071
[x86] add more tests for LEA formation; NFC

Promoting the shift to the wider type should allow LEA.

llvm-svn: 358513
llvm/test/CodeGen/X86/lea-dagdag.ll [new file with mode: 0644]