From 915742558ff7d729f03afe96c3ae06cac45ab3f5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 4 May 2013 01:58:32 -0400 Subject: [PATCH] R600: Fix bit extract intrinsic name --- lib/Target/R600/AMDILPeepholeOptimizer.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Target/R600/AMDILPeepholeOptimizer.cpp b/lib/Target/R600/AMDILPeepholeOptimizer.cpp index 3a28038..6e51973 100644 --- a/lib/Target/R600/AMDILPeepholeOptimizer.cpp +++ b/lib/Target/R600/AMDILPeepholeOptimizer.cpp @@ -768,7 +768,7 @@ AMDGPUPeepholeOpt::optimizeBitExtract(Instruction *inst) { callTypes.push_back(aType); callTypes.push_back(aType); FunctionType *funcType = FunctionType::get(aType, callTypes, false); - std::string name = "llvm.AMDGPU.bit.extract.u32"; + std::string name = "llvm.AMDIL.bit.extract.u32"; if (isVector) { name += ".v" + itostr(numEle) + "i32"; } else { -- 1.7.8.6