[PATCH] D72783: Process BUNDLE in tail duplication

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 09:53:48 PST 2020


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/TailDuplicator.cpp:628-629
 
-    if (!MI.isPHI() && !MI.isMetaInstruction())
+    if (MI.isBundle())
+      InstrCount += MI.getBundleSize();
+    else if (!MI.isPHI() && !MI.isMetaInstruction())
----------------
This depends on the target interpretation of a bundle. A VLIW target may want to treat a bundle as 1 instruction


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72783/new/

https://reviews.llvm.org/D72783





More information about the llvm-commits mailing list