HomePhabricator

IR: print value numbers for unnamed function arguments

Authored by t.p.northover on Aug 3 2019, 7:28 AM.

Description

IR: print value numbers for unnamed function arguments

For consistency with normal instructions and clarity when reading IR,
it's best to print the %0, %1, ... names of function arguments in
definitions.

Also modifies the parser to accept IR in that form for obvious reasons.

llvm-svn: 367755

Details