[all-commits] [llvm/llvm-project] 062111: InferAddressSpaces: Fix assert on inferred source ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Tue Feb 15 10:43:27 PST 2022
Branch: refs/heads/release/14.x
Home: https://github.com/llvm/llvm-project
Commit: 062111fe8073de55c0f00fe04847e986781d1cad
https://github.com/llvm/llvm-project/commit/062111fe8073de55c0f00fe04847e986781d1cad
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-02-15 (Tue, 15 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.
(cherry picked from commit 52fbb786a638ecc7349641b45b62a5abafffdf75)
Commit: ea97fc6b564ec6a843337a550a2209b653cffceb
https://github.com/llvm/llvm-project/commit/ea97fc6b564ec6a843337a550a2209b653cffceb
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/barrier_removal.ll
Log Message:
-----------
[OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned
If we assume `llvm.amdgcn.s.barrier` is aligned we may remove it and
cause OpenMP GPU applications on the AMD GPU to be stuck or wrongly
synchronized.
Reported by Carlo Bertolli.
(cherry picked from commit ede248e614bb2c232b7b1815829eb3d5c1aab1e4)
Compare: https://github.com/llvm/llvm-project/compare/b2ca48a84122...ea97fc6b564e
More information about the All-commits
mailing list