Simplify the implementation of getCUDALibDeviceFunction. NFC.
commit04310f4dd7b5356688353a5bfeac559acf6ce47c
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 14 Jun 2018 08:54:55 +0000 (14 08:54 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 14 Jun 2018 08:54:55 +0000 (14 08:54 +0000)
treece28fc387ea9d0227eb11c0afcbb1b80436ed5b5
parent48f38aae75c2c3a82fa52c9369a8377765e43ad7
Simplify the implementation of getCUDALibDeviceFunction. NFC.

Summary:
The function is currently awfully complicated. Drop the IILE and use
StringRef over std::string.

Reviewers: Meinersbur, grosser, bollu

Reviewed By: Meinersbur

Subscribers: nemanjai, kbarton, bollu, llvm-commits, pollydev

Differential Revision: https://reviews.llvm.org/D48070

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@334695 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PPCGCodeGeneration.cpp