[PATCH] MC: support different sized constants in constant pools

Janne Grunau j at jannau.net
Thu Jul 17 15:50:44 PDT 2014


new patch with added since someone needs to commit it for me

added tests for:
 * constant pools, x register and small constants, 
 * x register and the constant expressions which are rejected for w registers
 * test to make sure that the size is considered if the todo of merging the same constant to single pool entry is implemented

http://reviews.llvm.org/D4279

Files:
  include/llvm/MC/ConstantPools.h
  include/llvm/MC/MCStreamer.h
  lib/MC/ConstantPools.cpp
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
  lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
  test/MC/AArch64/ldr-pseudo-diagnostics.s
  test/MC/AArch64/ldr-pseudo.s
  test/MC/ARM/ldr-pseudo-darwin.s
  test/MC/ARM/ltorg-darwin.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4279.11617.patch
Type: text/x-patch
Size: 18989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140717/55641cac/attachment.bin>


More information about the llvm-commits mailing list