diff options
| author | Clement Courbet <courbet@google.com> | 2018-06-19 10:39:50 +0000 |
|---|---|---|
| committer | Clement Courbet <courbet@google.com> | 2018-06-19 10:39:50 +0000 |
| commit | 6780b5f97d28ff1f0266fc3780a35396db286e7a (patch) | |
| tree | eb42972070e3b7e44ebef97eaa0f198caad9599c /llvm/tools/llvm-exegesis/lib/Uops.cpp | |
| parent | b1ce7765be157bc5c825362f1f0804350e56c468 (diff) | |
| download | bcm5719-llvm-6780b5f97d28ff1f0266fc3780a35396db286e7a.tar.gz bcm5719-llvm-6780b5f97d28ff1f0266fc3780a35396db286e7a.zip | |
[llvm-exegesis] A mechanism to add target-specific functionality.
Summary: This is a step towards implementing memory operands and X87.
Reviewers: gchatelet
Subscribers: mgorny, tschuett, llvm-commits
Differential Revision: https://reviews.llvm.org/D48210
llvm-svn: 335038
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(); } |

