<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - check_cfc: dash g generate different code with machine-cp"
href="https://bugs.llvm.org/show_bug.cgi?id=44422">44422</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>check_cfc: dash g generate different code with machine-cp
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yechunliangcn@163.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Debug Info should have no effect on codegen, using check_cfc to scan
llvm_test_suite, find a bug here:
----------------------------------------------------------------------
[Reproduce]
$HOME/llvm-project/clang/utils/check_cfc/clang++
$HOME/test-suite/MultiSource/Benchmarks/Bullet/btConvexConvexAlgorithm.cpp -w
-c -O2 -I $HOME/test-suite/MultiSource/Benchmarks/Bullet/include -o tmp.ll
[result]
Check CFC, checking: dash_g_no_change, dash_s_no_change
/home/chris/test-suite/MultiSource/Benchmarks/Bullet/btConvexConvexAlgorithm.cpp
Code difference detected with -g
--- /tmp/tmpKmXkNI.o
+++ /tmp/tmp7GmGG6.o
@@ -254,6 +254,6 @@
39c: f3 41 0f 10 74 85 28 movss 0x28(%r13,%rax,4),%xmm6
3a3: f3 45 0f 10 74 8d 28 movss 0x28(%r13,%rcx,4),%xmm14
3aa: 75 06 jne 3b2
<_ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult+0x1e2>
- 3ac: 0f 8b 7f 11 00 00 jnp 1531
<_ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult+0x1361>
+ 3ac: 0f 8b 82 11 00 00 jnp 1534
<_ZN23btConvexConvexAlgorithm16processCollisionEP17btCollisionObjectS1_RK16btDispatcherInfoP16btManifoldResult+0x1364>
3b2: 0f 28 cd movaps %xmm5,%xmm1
3b5: f3 0f 59 cf mulss %xmm7,%xmm1
*** Diff truncated ***
----------------------------------------------------------------------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>