[llvm-bugs] [Bug 38082] New: [debugify] instcombine fail
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 6 08:49:51 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38082
Bug ID: 38082
Summary: [debugify] instcombine 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: anastasis.gramm2 at gmail.com, davide at freebsd.org,
llvm-bugs at lists.llvm.org, vsk at apple.com
Blocks: 37953
Created attachment 20532
--> https://bugs.llvm.org/attachment.cgi?id=20532&action=edit
ll reproducer
$ clang -v
clang version 7.0.0 (trunk 336429) (llvm/trunk 336428)
Target: x86_64-scei-ps4
Thread model: posix
InstalledDir: e:\work\upstream-llvm\build-vs2015-ps4-ninja\bin
$ cat Combine_redundant_instructions.FAIL_with_warnings.cpp
void foo(int);
void bar(int baz) { foo(baz & 1LL); }
$ clang --target=x86_64-unknown-unknown
Combine_redundant_instructions.FAIL_with_warnings.cpp -O0 -Xclang
-disable-O0-optnone -S -emit-llvm -o instcombine-input.ll
$ opt -debugify-each -disable-output -instcombine instcombine-input.ll
ERROR: dbg.value operand has size 32, but its variable has size 64: call void
@llvm.dbg.value(metadata i32 %0, metadata !16, metadata !DIExpression()), !dbg
!19
WARNING: Missing line 1
WARNING: Missing line 2
WARNING: Missing line 3
WARNING: Missing line 4
WARNING: Missing line 6
WARNING: Missing variable 1
WARNING: Missing variable 3
WARNING: Missing variable 4
CheckFunctionDebugify [Combine redundant instructions]: 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/20180706/6e8619c5/attachment-0001.html>
More information about the llvm-bugs
mailing list