[all-commits] [llvm/llvm-project] 269cef: AMDGPU/GlobalISel: Fix isExtractHiElt when selecti...
Petar Avramovic via All-commits
all-commits at lists.llvm.org
Wed Aug 7 03:14:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 269cefbc02986d460eee44a4e95024261be87656
https://github.com/llvm/llvm-project/commit/269cefbc02986d460eee44a4e95024261be87656
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2024-08-07 (Wed, 07 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-fma.ll
Log Message:
-----------
AMDGPU/GlobalISel: Fix isExtractHiElt when selecting fma_mix (#102130)
isExtractHiElt should return new source register instead of returning
instruction that defines it. Src = MI.getOperand(0).getReg() is not
correct when MI(for example G_UNMERGE_VALUES) defines multiple registers.
Refactor existing code to work with source registers only.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list