[PATCH] D120869: [IROutliner] Strip loop info when moving code into outlined function.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 04:12:15 PST 2022


fhahn added inline comments.


================
Comment at: llvm/test/Transforms/IROutliner/outlining-strip-loop-info.ll:13
+%struct.hoge.0 = type { i32, i32, i32, i32, i8*, %struct.quux* }
+%struct.barney = type <{ i32 (...)**, %struct.quux*, i32, [4 x i8], %struct.hoge.0*, %struct.hoge.0*, i32, [4 x i8] }>
+
----------------
Is all the complexity needed in the test case? IIUC it would be sufficient to have a function with a simple outline-able loop + `!llvm.loop` metadata with debug info.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120869



More information about the llvm-commits mailing list