Skip to content

[X86] IR execution test fails with -O0 opt-level on haswell #33940

@aymanmusa

Description

@aymanmusa
Bugzilla Link 34592
Resolution FIXED
Resolved on Jan 30, 2018 02:31
Version trunk
OS All
Blocks #35152
Attachments execution test that fails
CC @topperc,@zmodem,@RKSimon,@rotateright,@ZviRackover

Extended Description

Attached is an IR execution test including a chain of shufflevector and select instructions.

The test fails when compiling with "-O0 -march=haswell" flags.

Run the following on a haswell machine to reproduce:

clang -O0 -march=haswell exec_test_fail.ll -o exec_test_fail.exe
./exec_test_fail.exe
===============================================================================

FAIL: lane 2, expected 153, found 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions