[all-commits] [llvm/llvm-project] 3ff556: AMDGPU/GlobalISel: Fix isExtractHiElt when selecti...
Petar Avramovic via All-commits
all-commits at lists.llvm.org
Wed Aug 7 03:10:09 PDT 2024
Branch: refs/heads/users/petar-avramovic/isExtractHiElt-fix
Home: https://github.com/llvm/llvm-project
Commit: 3ff556161a7b4c56c1784d58316198eede44a3da
https://github.com/llvm/llvm-project/commit/3ff556161a7b4c56c1784d58316198eede44a3da
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
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