[llvm-bugs] [Bug 44422] New: check_cfc: dash g generate different code with machine-cp

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 1 01:00:48 PST 2020


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

            Bug ID: 44422
           Summary: check_cfc: dash g generate different code with
                    machine-cp
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: yechunliangcn at 163.com
                CC: llvm-bugs at lists.llvm.org

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 ***
----------------------------------------------------------------------

-- 
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/20200101/5ad476a6/attachment-0001.html>


More information about the llvm-bugs mailing list