From 00b2e8857b0b7e376cdd332f871b414f4b43173b Mon Sep 17 00:00:00 2001 From: Tim Gymnich Date: Wed, 18 Aug 2021 01:06:58 +0200 Subject: [PATCH] fix typo in error messages (#303) --- enzyme/Enzyme/EnzymeLogic.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/enzyme/Enzyme/EnzymeLogic.cpp b/enzyme/Enzyme/EnzymeLogic.cpp index 7e3815d1d6c38..c70fddbdb14de 100644 --- a/enzyme/Enzyme/EnzymeLogic.cpp +++ b/enzyme/Enzyme/EnzymeLogic.cpp @@ -1196,7 +1196,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [bi] failed to replace function " << (called->getName()) << " due to " << *I << "\n"; else - llvm::errs() << " [bi] ailed to replace function " << (*calledValue) + llvm::errs() << " [bi] failed to replace function " << (*calledValue) << " due to " << *I << "\n"; } return; @@ -1241,7 +1241,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [phi] failed to replace function " << (called->getName()) << " due to " << *I << "\n"; else - llvm::errs() << " [phi] ailed to replace function " << (*calledValue) + llvm::errs() << " [phi] failed to replace function " << (*calledValue) << " due to " << *I << "\n"; } return; @@ -1255,7 +1255,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [nv] failed to replace function " << (called->getName()) << " due to " << *I << "\n"; else - llvm::errs() << " [nv] ailed to replace function " << (*calledValue) + llvm::errs() << " [nv] failed to replace function " << (*calledValue) << " due to " << *I << "\n"; } return; @@ -1267,7 +1267,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [ci] failed to replace function " << (called->getName()) << " due to " << *I << "\n"; else - llvm::errs() << " [ci] ailed to replace function " << (*calledValue) + llvm::errs() << " [ci] failed to replace function " << (*calledValue) << " due to " << *I << "\n"; } return; @@ -1284,8 +1284,8 @@ bool legalCombinedForwardReverse( llvm::errs() << " [am] failed to replace function " << (called->getName()) << " due to " << *I << "\n"; else - llvm::errs() << " [am] ailed to replace function " << (*calledValue) - << " due to " << *I << "\n"; + llvm::errs() << " [am] failed to replace function " + << (*calledValue) << " due to " << *I << "\n"; } return; } @@ -1377,7 +1377,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [nonspec] failed to replace function " << (called->getName()) << " due to " << *inst << "\n"; else - llvm::errs() << " [nonspec] ailed to replace function " + llvm::errs() << " [nonspec] failed to replace function " << (*calledValue) << " due to " << *inst << "\n"; } legal = false; @@ -1393,7 +1393,7 @@ bool legalCombinedForwardReverse( llvm::errs() << " [premove] failed to replace function " << (called->getName()) << " due to " << *inst << "\n"; else - llvm::errs() << " [premove] ailed to replace function " + llvm::errs() << " [premove] failed to replace function " << (*calledValue) << " due to " << *inst << "\n"; } // Early exit