PR40564
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 27653 Build 27652: arc lint + arc unit
Event Timeline
llvm/test/Transforms/LoopIdiom/dbginfo-cost.ll | ||
---|---|---|
2 | 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. |
LGTM with a little simpler testcase
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 | I would be surprised if this is the only occurrence of this exact bug... | |
llvm/test/Transforms/LoopIdiom/dbginfo-cost.ll | ||
47 | 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. |
LGTM with a little simpler testcase
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 | We should probably grep for "cost" in the optimizer. |
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | ||
---|---|---|
1467 | Found another one, or at least related, I think: https://bugs.llvm.org/show_bug.cgi?id=40573 |
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.
I would be surprised if this is the only occurrence of this exact bug...