Simplify testcase. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 11 Nov 2014 20:49:16 +0000 (20:49 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 11 Nov 2014 20:49:16 +0000 (20:49 +0000)
Thanks to Filipe Cabecinhas for the tip.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221705 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/pr21529.ll

index 9da73dd4095baf40df450bddba883532628460a3..655bc844f503f1cb341c7207229018d49c7f6a39 100644 (file)
@@ -1,11 +1,11 @@
-; RUN: llc -filetype=obj < %s | llvm-objdump -d - | FileCheck %s
+; RUN: llc -show-mc-encoding < %s | FileCheck %s
 
 ; Test that the direct object emission selects the and variant with 8 bit
 ; immediate.
 ; We used to get this wrong when using direct object emission, but not when
 ; reading assembly.
 
-; CHECK: 48 83 e4 e0                    andq      $-32, %rsp
+; CHECK: andq    $-32, %rsp              # encoding: [0x48,0x83,0xe4,0xe0]
 
 target triple = "x86_64-pc-linux"