[all-commits] [llvm/llvm-project] 46f83c: [InlineAsm] Add support for address operands ("p").
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Apr 13 03:52:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46f83caebc8f2329bcf16b3edf6785dff480c5e3
https://github.com/llvm/llvm-project/commit/46f83caebc8f2329bcf16b3edf6785dff480c5e3
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
M clang/lib/Basic/Targets/SystemZ.h
M clang/lib/Basic/Targets/X86.cpp
A clang/test/CodeGen/SystemZ/systemz-inline-asm-03.c
M clang/test/CodeGen/asm.c
M llvm/docs/LangRef.rst
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/InlineAsm.h
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
A llvm/test/CodeGen/SystemZ/inline-asm-addr.ll
A llvm/test/CodeGen/X86/inline-asm-p-constraint.ll
Log Message:
-----------
[InlineAsm] Add support for address operands ("p").
This patch adds support for inline assembly address operands using the "p"
constraint on X86 and SystemZ.
This was in fact broken on X86 (see example at
https://reviews.llvm.org/D110267, Nov 23).
These operands should probably be treated the same as memory operands by
CodeGenPrepare, which have been commented with "TODO" there.
Review: Xiang Zhang and Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D122220
More information about the All-commits
mailing list