diff options
author | David Woodhouse <dwmw2@infradead.org> | 2014-01-08 12:58:32 +0000 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-08 12:58:32 +0000 |
commit | 2634d1f6da25827035b2c71fb8b5c744da5b3872 (patch) | |
tree | e52aa013f5f71849b77dc547c6075690557c9e94 /test/MC/X86 | |
parent | ab5b9489e9e91ef21d9cebf5cf9453d2e9fce1d7 (diff) |
[x86] Do not relax PUSHi16 to PUSHi32 (PR18414)
They do *different* things to %esp, so they are not equivalent.
Rename PUSHi8 to PUSH32i8 and add the missing PUSH16i8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r-- | test/MC/X86/relax-insn.s | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/X86/relax-insn.s b/test/MC/X86/relax-insn.s new file mode 100644 index 00000000000..510766c8284 --- /dev/null +++ b/test/MC/X86/relax-insn.s @@ -0,0 +1,5 @@ +// RUN: llvm-mc -filetype=obj -triple i386-pc-linux-gnu %s -o %t +// RUN: llvm-objdump -d %t | FileCheck %s + +.global foo +pushw $foo // CHECK: pushw |