OSDN Git Service

[X86] Add test case to show fast-isel incorrectly emitting a 64-bit movabsq instructi...
authorCraig Topper <craig.topper@intel.com>
Thu, 28 May 2020 22:40:06 +0000 (15:40 -0700)
committerCraig Topper <craig.topper@intel.com>
Thu, 28 May 2020 22:45:29 +0000 (15:45 -0700)
commitd79e51a711cbca80492e517eade2666b315907e4
tree4f0bf4c49ec72d94955ecf7906234350b0472477
parente62d67f770d279d0ef7e6f1175e0a88aaffd58b0
[X86] Add test case to show fast-isel incorrectly emitting a 64-bit movabsq instruction in 32-bit mode when using constant pools with -code-model=large. NFC

-code-model=large isn't supposed to mean anything to 32-bit mode.
But nothing prevents passing it so we shouldn't generate bad code
if someone does.
llvm/test/CodeGen/X86/fast-isel-constpool.ll