[all-commits] [llvm/llvm-project] bb10fa: AMDGPU: Fix wrong null value for private address s...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue May 26 13:35:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bb10fa3a53f928e2e24ad3eaf8e57508fe9d4320
https://github.com/llvm/llvm-project/commit/bb10fa3a53f928e2e24ad3eaf8e57508fe9d4320
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-addrspacecast.mir
M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
M llvm/test/CodeGen/AMDGPU/nullptr.ll
Log Message:
-----------
AMDGPU: Fix wrong null value for private address space
I'm guessing this was a holdover from when 0 was an invalid stack
pointer, but surprised nobody has discovered this before.
Also don't allow offset folding for -1 pointers, since it looks weird
to partially fold this.
More information about the All-commits
mailing list