aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-03-17 11:10:11 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2022-03-17 12:53:47 -0500
commitf02550bdd9b7e4b442009edc02f9e3f78400ae30 (patch)
tree639f3ff40643c3d5ba4719995aca66af4c733d5e /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent88c3c346f680226bacb622f6398931a67c7531eb (diff)
downloadllvm-f02550bdd9b7e4b442009edc02f9e3f78400ae30.zip
llvm-f02550bdd9b7e4b442009edc02f9e3f78400ae30.tar.gz
llvm-f02550bdd9b7e4b442009edc02f9e3f78400ae30.tar.bz2
Reapply "[OpenMP][FIX] Allow device constructors for AMD GPU"
This reverts commit a597d6a780b184539f504392168b004bf392a135 and reapplies 07b176646134. In AMD GPU device code the globals are in AS(1). Before, we crashed if the global was a structure. Now we simply cast away the AS before we generate the code to initialize the global. Differential Revision: https://reviews.llvm.org/D121837 Fixes: https://github.com/llvm/llvm-project/issues/54421
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions