Skip to content

Commit 8b013c6

Browse files
authored
Fix wrong resolution (intel#12146)
1 parent 03fd1f6 commit 8b013c6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -609,16 +609,10 @@ StringRef AMDGPUTargetMachine::getFeatureString(const Function &F) const {
609609
/// and must be preserved.
610610
static bool mustPreserveGV(const GlobalValue &GV) {
611611
if (const Function *F = dyn_cast<Function>(&GV))
612-
<<<<<<< HEAD
613612
return F->isDeclaration() || F->getName().startswith("__asan_") ||
614613
F->getName().startswith("__sanitizer_") ||
615614
AMDGPU::isEntryFunctionCC(F->getCallingConv()) ||
616615
F->hasFnAttribute("sycl-module-id");
617-
=======
618-
return F->isDeclaration() || F->getName().starts_with("__asan_") ||
619-
F->getName().starts_with("__sanitizer_") ||
620-
AMDGPU::isEntryFunctionCC(F->getCallingConv());
621-
>>>>>>> 586ecdf205aa8b3d162da6f955170a6736656615
622616

623617
GV.removeDeadConstantUsers();
624618
return !GV.use_empty();

0 commit comments

Comments
 (0)