This is an archive of the discontinued LLVM Phabricator instance.

TableGen: Resolve references when setting value
Needs ReviewPublic

Authored by arsenm on Sep 6 2017, 5:31 PM.

Details

Summary

If a record field was used as a template argument,
it wasn't fully evaluated leaving unfolded !ifs.

Fixes bug 30254 reduced testcase as reported.
Unfortunately, tablegen still errors when I remove
the workaround for this bug in the AMDGPU td files
so this might be incomplete.

Diff Detail