diff options
| author | Clement Courbet <courbet@google.com> | 2018-06-19 11:28:59 +0000 |
|---|---|---|
| committer | Clement Courbet <courbet@google.com> | 2018-06-19 11:28:59 +0000 |
| commit | 44b4c54e2698657d57ffcbbd9c26cb88c1a2cce9 (patch) | |
| tree | b4c67389f321642047335b0e4d21f352d9c3e664 /llvm/tools/llvm-exegesis/lib/Uops.cpp | |
| parent | 46751785ee474bedf6e607913beb9e5104783237 (diff) | |
| download | bcm5719-llvm-44b4c54e2698657d57ffcbbd9c26cb88c1a2cce9.tar.gz bcm5719-llvm-44b4c54e2698657d57ffcbbd9c26cb88c1a2cce9.zip | |
Re-land r335038 "[llvm-exegesis] A mechanism to add target-specific functionality.""
Fix typo: LLVM_NATIVE_ARCH -> LLVM_EXEGESIS_NATIVE_ARCH.
llvm-svn: 335041
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Uops.cpp')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/Uops.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Uops.cpp b/llvm/tools/llvm-exegesis/lib/Uops.cpp index 4c6edaad32a..581b855cadf 100644 --- a/llvm/tools/llvm-exegesis/lib/Uops.cpp +++ b/llvm/tools/llvm-exegesis/lib/Uops.cpp @@ -97,8 +97,7 @@ UopsBenchmarkRunner::isInfeasible(const llvm::MCInstrDesc &MCInstrDesc) const { return llvm::make_error<BenchmarkFailure>( "Infeasible : has unknown operands"); if (llvm::any_of(MCInstrDesc.operands(), hasMemoryOperand)) - return llvm::make_error<BenchmarkFailure>( - "Infeasible : has memory operands"); + return llvm::make_error<BenchmarkFailure>("Infeasible : has memory operands"); return llvm::Error::success(); } |

