[all-commits] [llvm/llvm-project] c64aba: [SDAG] Don't duplicate ParseConstraints() implemen...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Jul 12 01:42:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c64aba5d931bc0b393dd7adf85b46cdaec964aed
https://github.com/llvm/llvm-project/commit/c64aba5d931bc0b393dd7adf85b46cdaec964aed
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-07-12 (Tue, 12 Jul 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[SDAG] Don't duplicate ParseConstraints() implementation SDAGBuilder (NFCI)
visitInlineAsm() in SDAGBuilder was duplicating a lot of the code
in ParseConstraints(), in particular all the logic to determine the
operand value and constraint VT.
Rely on the data computed by ParseConstraints() instead, and update
its ConstraintVT implementation to match getCallOperandValEVT()
more precisely.
More information about the All-commits
mailing list