HomePhabricator

[IR] Add vscale_range IR function attribute

Authored by bsmith on Mar 3 2021, 5:53 AM.

Description

[IR] Add vscale_range IR function attribute

This attribute represents the minimum and maximum values vscale can
take. For now this attribute is not hooked up to anything during
codegen, this will be added in the future when such codegen is
considered stable.

Additionally hook up the -msve-vector-bits=<x> clang option to emit this
attribute.

Differential Revision: https://reviews.llvm.org/D98030

Details

Committed
bsmithMar 22 2021, 5:05 AM
Differential Revision
D98030: [IR] Add vscale_range IR function attribute
Parents
rG2bbc9bccf095: [OpenCL] Support template parameters for as_type
Branches
Unknown
Tags
Unknown