PR40564
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/test/Transforms/LoopIdiom/dbginfo-cost.ll | ||
---|---|---|
1 ↗ | (On Diff #184864) | this is a little annoying, but the transformation seems to be impacted by the intrinsic cost, and I wasn't able to generate a test that doesn't involve target specific bits. |
Comment Actions
LGTM with a little simpler testcase
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 ↗ | (On Diff #184864) | I would be surprised if this is the only occurrence of this exact bug... |
llvm/test/Transforms/LoopIdiom/dbginfo-cost.ll | ||
46 ↗ | (On Diff #184864) | It looks like we could safely strip out most of the debug info by removing enums: and friends, and making all !dbg attachments point to the same source location. |
Comment Actions
LGTM with a little simpler testcase
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 ↗ | (On Diff #184864) | We should probably grep for "cost" in the optimizer. |
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 ↗ | (On Diff #184864) | Found another one, or at least related, I think: https://bugs.llvm.org/show_bug.cgi?id=40573 |
Comment Actions
diff stat says I cleaned the test case a bit.
dtdebugger:llvm-mono davide$ git diff |diffstat dbginfo-cost.ll | 50 ++++++++------------------------------------------ 1 file changed, 8 insertions(+), 42 deletions(-)
Commit this in a second.