[all-commits] [llvm/llvm-project] 546a9c: CodeGen: Fix bypassing legality checks for IMPLICI...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Dec 6 06:43:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 546a9ce80cac8fe73d239496010ae84972da3ca8
https://github.com/llvm/llvm-project/commit/546a9ce80cac8fe73d239496010ae84972da3ca8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/AArch64/implicit-def-remat-requires-impdef-check.mir
Log Message:
-----------
CodeGen: Fix bypassing legality checks for IMPLICIT_DEF rematerialization (#73934)
It's permitted to have extra implicit-def operands of the same main
register
after the main register def. If there are implicit operands, use the
standard
legality checks which verify the operand contents.
Depends #73933
More information about the All-commits
mailing list