Skip to content

Out-of-range getOperand in matchTwoInputRecurrence #152725

@kparzysz

Description

@kparzysz

The attached module causes a crash. It showed up when building OpenMP offload binaries for NVPTX.

Run with opt -passes="instcombine<max-iterations=1;no-verify-fixpoint>" -S < module.ll

module.zip

I'll merge a simple fix to unblock the build, but please take a look at this.

Metadata

Metadata

Labels

llvm:analysisIncludes value tracking, cost tables and constant folding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions