[PATCH] D106993: [IROutliner] Outline across branches with multiple exits

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 14:54:23 PDT 2021


AndrewLitteken added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/IROutliner.cpp:457
+    if ((RetTy->isVoidTy() && !ExtractedFuncType->isVoidTy()) ||
+        (RetTy->isIntegerTy(1) && ExtractedFuncType->isIntegerTy(16)))
+      RetTy = ExtractedFuncType;
----------------
paquette wrote:
> why 16?
It's what the code extractor uses.  IT creates functions of type void, i1 or i16


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

https://reviews.llvm.org/D106993



More information about the llvm-commits mailing list