HomePhabricator

[NVPTX] generate correct MMA instruction mnemonics with PTX63+.

Authored by tra on Apr 25 2019, 3:27 PM.

Description

[NVPTX] generate correct MMA instruction mnemonics with PTX63+.

PTX 6.3 requires using ".aligned" in the MMA instruction names.
In order to generate correct name, now we pass current
PTX version to each instruction as an extra constant operand
and InstPrinter adjusts its output accordingly.

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

llvm-svn: 359246