[llvm-bugs] [Bug 38179] New: [debugify] tailcallelim fail

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 16 05:56:01 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38179

            Bug ID: 38179
           Summary: [debugify] tailcallelim fail
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: greg.bedwell at sony.com
                CC: llvm-bugs at lists.llvm.org
            Blocks: 37953

Created attachment 20559
  --> https://bugs.llvm.org/attachment.cgi?id=20559&action=edit
ll reproducer

$ clang -v
clang version 7.0.0 (trunk 337152) (llvm/trunk 337156)
Target: x86_64-scei-ps4
Thread model: posix
InstalledDir: e:\work\upstream-llvm\build-vs2015-ps4-ninja\bin

$ cat Debugifind.1.FAIL.Tail_Call_Elimination.cpp
void a() { a(); }

$ clang.exe Debugifind.1.FAIL.Tail_Call_Elimination.cpp -S -o - -emit-llvm -O0
-Xclang -disable-O0-optnone -o Debugifind.1.FAIL.Tail_Call_Elimination.ll

$ opt.exe -disable-output -debugify-each -tailcallelim
Debugifind.1.FAIL.Tail_Call_Elimination.ll
ERROR: Instruction with empty DebugLoc in function _Z1av --  br label
%tailrecurse
WARNING: Missing line 2
CheckFunctionDebugify [Tail Call Elimination]: FAIL
CheckFunctionDebugify [Module Verifier]: PASS

$


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=37953
[Bug 37953] [meta] [debugify] fix -check-debugify failures
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180716/b0404712/attachment-0001.html>


More information about the llvm-bugs mailing list