[all-commits] [llvm/llvm-project] 52fbb7: InferAddressSpaces: Fix assert on inferred source ...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Feb 11 07:35:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52fbb786a638ecc7349641b45b62a5abafffdf75
https://github.com/llvm/llvm-project/commit/52fbb786a638ecc7349641b45b62a5abafffdf75
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-02-11 (Fri, 11 Feb 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
A llvm/test/Transforms/InferAddressSpaces/AMDGPU/issue53665.ll
Log Message:
-----------
InferAddressSpaces: Fix assert on inferred source for inttoptr/ptrtoint
If we had some source value we could infer an address space from that
went through a ptrtoint/inttoptr pair, this would fail since bitcast
can't change the address space.
Fixes issue 53665.
More information about the All-commits
mailing list