Page MenuHomePhabricator

[ARM] Handle +t2dsp feature as an ArchExtKind in ARMTargetParser.def

Authored by tyomitch on Sep 17 2015, 8:27 AM.



Currently, the availability of DSP instructions (ACLE 6.4.7) is handled in a hand-rolled tricky condition block in lib/Basic/Targets.cpp, with a FIXME: attached. moves the handling of +t2dsp over to ARMTargetParser.def in LLVM, to be in line with other architecture extensions.

This is the corresponding patch to clang, to clear the FIXME: and update the tests.

Diff Detail


Event Timeline

tyomitch updated this revision to Diff 35001.Sep 17 2015, 8:27 AM
tyomitch retitled this revision from to [ARM] Handle +t2dsp feature as an ArchExtKind in ARMTargetParser.def.
tyomitch updated this object.
tyomitch added reviewers: labrinea, rengolin.
tyomitch added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.