[all-commits] [llvm/llvm-project] 0da435: AMDGPU: Add baseline test for ptrmask infer addres...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu May 28 07:04:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0da4353938368c1f2473cd24553989f84b964279
https://github.com/llvm/llvm-project/commit/0da4353938368c1f2473cd24553989f84b964279
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
A llvm/test/Transforms/InferAddressSpaces/AMDGPU/ptrmask.ll
Log Message:
-----------
AMDGPU: Add baseline test for ptrmask infer address space
Commit: d6671ee90c1423eb18c6fab11819df850ae2200d
https://github.com/llvm/llvm-project/commit/d6671ee90c1423eb18c6fab11819df850ae2200d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/ptrmask.ll
Log Message:
-----------
InferAddressSpaces: Handle ptrmask intrinsic
This one is slightly odd since it counts as an address expression,
which previously could never fail. Allow the existing TTI hook to
return the value to use, and re-use it for handling how to handle
ptrmask.
Handles the no-op addrspacecasts for AMDGPU. We could probably do
something better based on analysis of the mask value based on the
address space, but leave that for now.
Compare: https://github.com/llvm/llvm-project/compare/6594d54571ee...d6671ee90c14
More information about the All-commits
mailing list