[PATCH] D20385: [x86] avoid printing unnecessary sign bits of hex immediates in asm comments (PR20347)

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 14:22:37 PDT 2016


spatel created this revision.
spatel added reviewers: craig.topper, enderby, RKSimon.
spatel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

It would probably be better to check the valid/expected size of the immediate operand, but I don't see a way to do that.


http://reviews.llvm.org/D20385

Files:
  lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
  test/CodeGen/X86/2011-10-21-widen-cmp.ll
  test/CodeGen/X86/avx512-cmp.ll
  test/CodeGen/X86/bitreverse.ll
  test/CodeGen/X86/pr16360.ll
  test/CodeGen/X86/rem.ll
  test/CodeGen/X86/vec_fneg.ll
  test/CodeGen/X86/vector-bitreverse.ll
  test/CodeGen/X86/vector-idiv-sdiv-512.ll
  test/MC/X86/imm-comments.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20385.57676.patch
Type: text/x-patch
Size: 18883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/2fc68925/attachment.bin>


More information about the llvm-commits mailing list