96d414060984af5725e4399da1770c0e523f4f88
There are a couple problems with this. First, llvm-dis is an unstable llvm development tool and 3rd party users should generally not rely on it. The text format is unstable, and the regex here isn't even explicitly looking for the target triple field, so it could accidentally find something else. Second, picking the target to compile based on the library you are linking is a fundamentally backwards decision. The target you're compiling for changes the library you would want to link. The device libraries are only ever compiled with amdgcn-amd-amdhsa. If we had a second triple, this should be explicitly building for any it cares about. Change-Id: I3bae8398f60f78df61ab2177aa9e83f47ec6dea4
توضیحات
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
دیگر
1.1%