FailedChanges

Summary

  1. [X86] Always use 16-bit displacement in 16-bit mode when there is no base or index register. (details)
Commit 2ce1a697f037469e737db1ad41dfa14ec653ec53 by craig.topper
[X86] Always use 16-bit displacement in 16-bit mode when there is no base or index register.

Previously we only did this if the immediate fit in 16 bits, but
the GNU assembler seems to just truncate.

Fixes PR46952
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp (diff)
The file was modifiedllvm/test/MC/X86/x86-16.s (diff)