Skip to content

Olden benchmark perimeter fails with llvm-2.3 #2913

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 2541
Resolution WORKSFORME
Resolved on Jul 14, 2008 00:22
Version unspecified
OS Linux
Attachments gzipped source of the benchmark
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

A version of Olden benchmark perimeter when compiled with llvm-gcc-4.2 with llvm-2.3 aborts with the following error

llvm/llvm-2.3/lib/CodeGen/LiveVariables.cpp:143: void llvm::LiveVariables::HandleVirtRegUse(unsigned int, llvm::MachineBasicBlock*, llvm::MachineInstr*): Assertion `MBB != MRI->getVRegDef(reg)->getParent() && "Should have kill for defblock!"' failed.

Command-Line used to compile the benchmark

llvm-gcc -m64 -O3 -lm -DPLAIN -DSS_PLAIN -DI_TIME -DI_SYS_TIME -DULTRIX -o test *.c

Same benchmark was compiling successfully with llvm-2.2.

I am using gcc-4.2.0 on X86-64 machine with Suse linux.

I have attached the c source for perusal

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions