efriedma-quic wrote:

Those tests are already generating that warning; I assume the "new" warning is 
a duplicate?  That seems like a bug in the x86 handling for target features: it 
should generate a warning at most once per function, and the warning should 
point to the function in question.  (Currently, it generates three warnings per 
function with no source location.  CC @phoebewang @e-kud @KanRobert .)

It might make sense to refactor the way getFunctionFeatureMap works; maybe add 
some kind of cache so we aren't constantly recomputing it.

https://github.com/llvm/llvm-project/pull/137624
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to