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

            Bug ID: 34847
           Summary: Csmith program gives bad checksum with
                    -optimize-regalloc=false
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Register Allocator
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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

but,

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to