[all-commits] [llvm/llvm-project] 67cfbe: AMDGPU/GlobalISel: Insert readfirstlane on SGPR re...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Mar 10 08:18:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 67cfbec7461312ce6c1a8f38ad4f45b7886d51ef
https://github.com/llvm/llvm-project/commit/67cfbec7461312ce6c1a8f38ad4f45b7886d51ef
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-03-10 (Tue, 10 Mar 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/bswap.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_vs.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
Log Message:
-----------
AMDGPU/GlobalISel: Insert readfirstlane on SGPR returns
In case the source value ends up in a VGPR, insert a readfirstlane to
avoid producing an illegal copy later. If it turns out to be
unnecessary, it can be folded out.
More information about the All-commits
mailing list