HomePhabricator

CodeGen: Print/parse LLTs in MachineMemOperands

Authored by arsenm on May 19 2021, 7:25 PM.

Description

CodeGen: Print/parse LLTs in MachineMemOperands

This will currently accept the old number of bytes syntax, and convert
it to a scalar. This should be removed in the near future (I think I
converted all of the tests already, but likely missed a few).

Not sure what the exact syntax and policy should be. We can continue
printing the number of bytes for non-generic instructions to avoid
test churn and only allow non-scalar types for generic instructions.

This will currently print the LLT in parentheses, but accept parsing
the existing integers and implicitly converting to scalar. The
parentheses are a bit ugly, but the parser logic seems unable to deal
without either parentheses or some keyword to indicate the start of a
type.

Details

Committed
arsenmJun 30 2021, 1:54 PM
Parents
rG578a4cfe1912: [libc][NFC] Clear all exceptions in exception_flags_test before raising another.
Branches
Unknown
Tags
Unknown

Very Large Commit

This commit is very large, and affects more than 1000 files. Changes are not shown.