"lldb/git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "ebc1bb277ccc583414b5695e10a708389a003b01"
[NVPTX] do not rely on cached subtarget info.
If a module has function references, but no functions themselves, we may end up never calling runOnMachineFunction and therefore would never initialize nvptxSubtarget field which would eventually cause a crash. Instead of relying on nvptxSubtarget being initialized by one of the methods, retrieve subtarget info directly. Differential Revision: https://reviews.llvm.org/D55580 llvm-svn: 348952
Loading
Please register or sign in to comment