Closed bondhugula closed 4 years ago
I believe its due to the following llvm commit : https://github.com/llvm/llvm-project/commit/5d986953c8b917bacfaa1f800fc1e242559f76be#diff-e4d14cf1af1adc71fd93a0f451d98f6a
I was able to resolve it by adding the following:
Adding #include "llvm/IR/IntrinsicsNVPTX.h" to lib/Target/LLVMIR/ConvertToNVVMIR.cpp Adding #include "llvm/IR/IntrinsicsAMDGPU.h" to lib/Target/LLVMIR/ConvertToROCDLIR.cpp
It works. Thanks.
We're integrating LLVM from upstream into our internal repository every day or so (sometimes LLVM is in a bad state and it takes multiple days), and we fix the APIs along the way. Right now we're at 5bcd34a03ff343674c106b9a6a0406bf249b9b31 Please re-open if you still see the issue at that revision.
The trunk doesn't build (both release and debug builds). (LLVM trunk: ed83942bc02501c62b55f77cba688263ea35221a )