[PATCH] D41226: LiveDebugValues spill recognition expasnsion

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 13:50:15 PST 2017


aprantl added a comment.

Hmm.. I just try to apply your patch to trunk, but the testcase doesn't parse for me. Do I need a specific revision of LLVM?



================
Comment at: lib/CodeGen/LiveDebugValues.cpp:443
+      else {
+        // Check wether next instruction kills the spilled register.
+        auto NextInstr = std::next(MI.getIterator());
----------------
`whether`


================
Comment at: test/DebugInfo/X86/kill-after-spill.mir:1
+# RUN: llc -run-pass=livedebugvalues -o - %s | FileCheck %s
+
----------------
this now needs to go into test/DebugInfo/MIR/X86/kill-after-spill.mir



https://reviews.llvm.org/D41226





More information about the llvm-commits mailing list