This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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.

http://reviews.llvm.org/D12937 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

Repository
rL LLVM

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.