[PATCH] D21097: Enable long displacement constraints for inline ASM operands on SystemZ

Elliot Colp via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 12:35:06 PDT 2016


colpell created this revision.
colpell added a reviewer: uweigand.
colpell added a subscriber: llvm-commits.

This enables use of the 'S' constraint for inline ASM operands on SystemZ, which allows for a memory reference with a signed 20-bit immediate displacement. This patch includes corresponding documentation and test case updates.

I've changed the 'T' constraint to match the new behavior for 'S', as 'T' also uses a long displacement (though index constraints are still not implemented). I also changed 'm' to match the behavior for 'S' as this will allow for a wider range of displacements for 'm', though correct me if that's not the right decision.

http://reviews.llvm.org/D21097

Files:
  docs/LangRef.rst
  lib/Target/SystemZ/README.txt
  lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  test/CodeGen/SystemZ/asm-03.ll
  test/CodeGen/SystemZ/asm-04.ll
  test/CodeGen/SystemZ/asm-05.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21097.59933.patch
Type: text/x-patch
Size: 5526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160607/a4de67b7/attachment.bin>


More information about the llvm-commits mailing list