[LLVMbugs] [Bug 14231] New: oggenc with -vectorize fails

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 31 12:39:51 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14231

             Bug #: 14231
           Summary: oggenc with -vectorize fails
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9475
  --> http://llvm.org/bugs/attachment.cgi?id=9475
The output bugpoint files

oggenc with -O3 -vectorize on x86_64 fails. bugpoint seems to feel that this is
a backend problem.

clang -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG -S -emit-llvm -o oggenc.ll
oggenc.c
bugpoint -O3 -run-int -vectorize oggenc.ll --args -Q -s 901820 tune --opt-args
-mtriple=x86_64-unknown-linux-gnu
...
*** The following function is being miscompiled: 
strncpy_filtered_while.cond_if.end26
<llc><gcc>You can reproduce the problem with the command line: 
  llc bugpoint.test.bc -o bugpoint.test.bc.s
  gcc ./bugpoint.safe.bc.llc.s.so bugpoint.test.bc.s -o bugpoint.test.bc.exe
-Wl,-R.
  bugpoint.test.bc.exe -Q -s 901820 tune
The shared object was created with:
  llc -march=c bugpoint.safe.bc -o temporary.c
  gcc -xc temporary.c -O2 -o ./bugpoint.safe.bc.llc.s.so -fPIC -shared
-fno-strict-aliasing

The "tune" input file is the one from the test suite.

If I run bugpoint with -llc-safe, then it detects the miscompilation, but says
that it cannot help.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list