HomePhabricator

[InferAttributes] Don't access parameters that don't exist.

Authored by mkuper on Sep 20 2016, 4:10 PM.

Description

[InferAttributes] Don't access parameters that don't exist.

Check for the correct number of parameters before querying their type.
This fixes PR30455.

llvm-svn: 282038

Details

Committed
mkuperSep 20 2016, 4:10 PM
Parents
rG620c140a9b50: [ThinLTO] Always emit a summary when compiling in ThinLTO mode
Branches
Unknown
Tags
Unknown