[PATCH] D150436: Correct the sort logic in AsmMatcherEmmitter.cpp

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 07:15:57 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/test/MC/X86/pr22028.s:17
 //CHECK16:	pushw	$257                    # encoding: [0x68,0x01,0x01]
-//CHECK16:	pushl	$65536                  # encoding: [0x66,0x68,0x00,0x00,0x01,0x00]
+//CHECK16:	pushw	$65536                  # encoding: [0x68,0x00,0x00]
 
----------------
Is this correct? 65536 does not fit into a 16-bit word.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150436/new/

https://reviews.llvm.org/D150436



More information about the llvm-commits mailing list