Skip to content

instcombine miscompile #2270

@llvmbot

Description

@llvmbot
Bugzilla Link 1898
Resolution FIXED
Resolved on Nov 07, 2018 00:22
Version trunk
OS MacOS X
Attachments failing .ll file
Reporter LLVM Bugzilla Contributor

Extended Description

Attached .ll file works when run directly through llc (on Darwin x86). Fails when run through opt -std-compile-opts first. This is a regression from 12/13/07.
This is from gcc.c-torture/execute/20000403-1.c in the gcc testsuite (with llvm-gcc-4.2).
There are 3 similar failures (runtime failure at optimization other than -O0); I'm hopeful they're all the same:
gcc.c-torture/execute/920711-1.c
gcc.c-torture/execute/cmpsi-1.c
gcc.c-torture/execute/loop-3b.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions