Skip to content

instcombine + dagcombine miscompilation #1386

@asl

Description

@asl
Bugzilla Link 1014
Resolution FIXED
Resolved on Nov 07, 2018 00:17
Version trunk
OS All
Attachments Test source

Extended Description

Consider the attached .ll file.

It will ask a number as input. Input "32".
Correct answer is "41". It can be obtained via cbackend. Both llc and lli
generate code, which produces "186".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions