This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Workaround for VS 2015 Update 3 RelWithDebInfo build
AbandonedPublic

Authored by andrewng on Oct 16 2017, 10:47 AM.

Details

Summary

Commit r315884 introduced a build issue for VS 2015 Update 3 in the
RelWithDebInfo build. The issue is a fatal internal error in the CL
compiler caused by the following line of code in the function
OperandMatcher::addTypeCheckPredicate:

addPredicate<LLTOperandMatcher>(*OpTyOrNone);

The workaround is to replace *OpTyOrNone with a local variable of type
const LLTCodeGen & referring to *OpTyOrNone.

Diff Detail

Event Timeline

andrewng created this revision.Oct 16 2017, 10:47 AM
andrewng abandoned this revision.Oct 16 2017, 1:55 PM

Workaround no longer required. This issue is also fixed by commit r315932.