[all-commits] [llvm/llvm-project] 297e92: [SelectionDAGBuilder] Bugfix in visitInlineAsm()
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Sep 8 14:04:19 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 297e9237db531a94ce024934c703a10656b4f781
https://github.com/llvm/llvm-project/commit/297e9237db531a94ce024934c703a10656b4f781
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2021-09-08 (Wed, 08 Sep 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
A llvm/test/CodeGen/X86/20210831-inlineasm.ll
Log Message:
-----------
[SelectionDAGBuilder] Bugfix in visitInlineAsm()
In case of a virtual register tied to a phys-def, the register class needs to
be computed. Make sure that this works generally also with fast regalloc by
using TLI.getRegClassFor() whenever possible, and make only the case of
'Untyped' use getMinimalPhysRegClass().
Fixes https://bugs.llvm.org/show_bug.cgi?id=51699.
Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D109291
(cherry picked from commit 118997d8e931dcb4c6e972611a7e4febcc33a061)
More information about the All-commits
mailing list