[PATCH] D53429: [llvm-exegesis] Re-enable liveliness tracker.
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 19 03:50:48 PDT 2018
courbet created this revision.
courbet added a reviewer: gchatelet.
Herald added a subscriber: tschuett.
Repository:
rL LLVM
https://reviews.llvm.org/D53429
Files:
tools/llvm-exegesis/lib/Assembler.cpp
Index: tools/llvm-exegesis/lib/Assembler.cpp
===================================================================
--- tools/llvm-exegesis/lib/Assembler.cpp
+++ tools/llvm-exegesis/lib/Assembler.cpp
@@ -33,6 +33,7 @@
const llvm::MCSubtargetInfo *const MSI,
llvm::ArrayRef<RegisterValue> RegisterInitialValues,
bool &IsSnippetSetupComplete) {
+ IsSnippetSetupComplete = true;
std::vector<llvm::MCInst> Result;
for (const RegisterValue &RV : RegisterInitialValues) {
// Load a constant in the register.
@@ -170,7 +171,7 @@
for (const unsigned Reg : LiveIns)
MF.getRegInfo().addLiveIn(Reg);
- bool IsSnippetSetupComplete = false;
+ bool IsSnippetSetupComplete;
std::vector<llvm::MCInst> Code =
generateSnippetSetupCode(ET, TM->getMCSubtargetInfo(),
RegisterInitialValues, IsSnippetSetupComplete);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53429.170180.patch
Type: text/x-patch
Size: 936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181019/4dd46dc0/attachment.bin>
More information about the llvm-commits
mailing list