[PATCH] [RFC] Deprecated feature in TableGen

Hal Finkel hfinkel at anl.gov
Fri Aug 16 08:13:41 PDT 2013


----- Original Message -----
> 
>   > FWIW, PowerPC also has some deprecated instructions, and we could
>   > also add some warning if they're used. Maybe, however, this
>   > could be generalized to some kind of 'warning' attribute of
>   > which a deprecation warning is a special case?
> 
>   Have you got other any other warnings in mind that could be used?

No, and I was thinking at the time that it would be pretty easy to make Deprecated into some subclass of Warning which uses some string concats to compose the message. Upon further reflection, however, that may not be a good idea. What we'd like I imagine, eventually, is to be able to predicate the warning on the frontend's -Wno-deprecated state.

 -Hal

> 
> http://llvm-reviews.chandlerc.com/D1399
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list