[llvm-bugs] [Bug 34847] New: Csmith program gives bad checksum with -optimize-regalloc=false

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 5 08:55:05 PDT 2017


            Bug ID: 34847
           Summary: Csmith program gives bad checksum with
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Register Allocator
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19241
  --> https://bugs.llvm.org/attachment.cgi?id=19241&action=edit
reduced testcase

I have reduced a csmith program that prints

bin/clang -O3 -march=z13 tc_regalloc.bc -o a.out -w  ; ./a.out
checksum = 3FB78BC1


bin/clang -O3 -march=z13 tc_regalloc.bc -o a.out -w -mllvm
-optimize-regalloc=false ; ./a.out
checksum = 9E0D2F27

I had originally made a batch run with 14 different compilations with many
randomized options, which all had the 3FB... checksum, so therefore I would
guess that any other checksum is wrong.

I have used bugpoint with a script that checks the checksums for every bugpoint
program, so I am not sure if doing so is the best thing, but the checksums are
the same as for the original program.

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/20171005/66bd31ba/attachment.html>

More information about the llvm-bugs mailing list