[all-commits] [llvm/llvm-project] 2d670d: GlobalISel: Avoid crash on asm with lying result t...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Jan 26 12:24:28 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d670de84c485b514a1950dda3602f899b6f0f58
https://github.com/llvm/llvm-project/commit/2d670de84c485b514a1950dda3602f899b6f0f58
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-01-26 (Wed, 26 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm-mismatched-size.ll
Log Message:
-----------
GlobalISel: Avoid crash on asm with lying result types
The physical register in the asm has the wrong type for the declared
IR. It seems to work in the DAG by extracting the 4 elements that are
defined in the IR from the register, but that isn't handled here. This
doesn't seem to be a well tested path since other mismatched cases are
crashing the DAG asm handling.
More information about the All-commits
mailing list