[PATCH] D37611: [IfConversion] More simple, correct dead/kill liveness handling

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 07:59:48 PDT 2017


kparzysz added inline comments.


================
Comment at: lib/CodeGen/LivePhysRegs.cpp:294
+      if (MO->readsReg())
+        MO->setIsKill(IsNotLive);
+    }
----------------
It doesn't look like this code going to add a kill flag to the use of `r0` in the add.

```
r0 = add r0, r1
... = r0
```


https://reviews.llvm.org/D37611





More information about the llvm-commits mailing list