SuccessChanges

Summary

  1. Emit diagnostic if an inline asm constraint requires an immediate (details)
Commit 41a2847a9ae50a9cc52f754d52692357d0e28bbf by isanbard
Emit diagnostic if an inline asm constraint requires an immediate
Summary: An inline asm call can result in an immediate after inlining.
Therefore emit a diagnostic here if constraint requires an immediate but
one isn't supplied.
Reviewers: joerg, mgorny, efriedma, rsmith
Reviewed By: joerg
Subscribers: asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD,
zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX,
jocewei, s.egerton, MaskRay, jyknight, dylanmckay, javed.absar,
fedor.sergeev, jrtc27, Jim, krytarowski, eraman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60942
llvm-svn: 367750
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-K.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-L.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-J.ll (diff)
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm-invalid.ll (diff)
The file was addedllvm/test/CodeGen/X86/inline-asm-n-constraint.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-I.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-M.ll (diff)
The file was addedllvm/test/CodeGen/X86/inline-asm-e-constraint.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm-error-N.ll (diff)
The file was addedllvm/test/CodeGen/X86/inline-asm-imm-out-of-range.ll
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/inline-asm-bad-constraint-n.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/AVR/AVRISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)