Skip to content

Commit 2c8c71e

Browse files
committed
contrinue bisect
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent dad4010 commit 2c8c71e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/SYCLLowerIR/SYCLSqrtFDivMaxErrorCleanUp.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ SYCLSqrtFDivMaxErrorCleanUpPass::run(Module &M,
8787
continue;
8888
for (auto &BB : F) {
8989
for (auto &II : BB) {
90-
/* if (auto *CI = dyn_cast<CallInst>(&II)) {
90+
if (auto *CI = dyn_cast<CallInst>(&II)) {
9191
auto *SqrtF = CI->getCalledFunction();
9292
if (SqrtF->getName() == "sqrt" ||
93-
SqrtF->getName().starts_with("_Z4sqrt") ||
94-
SqrtF->getIntrinsicID() == llvm::Intrinsic::sqrt)
93+
SqrtF->getName().starts_with("_Z4sqrt"))
94+
// SqrtF->getIntrinsicID() == llvm::Intrinsic::sqrt)
9595
return PreservedAnalyses::all();
96-
}*/
96+
}
9797
if (auto *FPI = dyn_cast<FPMathOperator>(&II)) {
9898
auto Opcode = FPI->getOpcode();
9999
if (Opcode == Instruction::FDiv)

0 commit comments

Comments
 (0)