jrtc27 added inline comments.

================
Comment at: flang/test/Driver/target-cpu-features-invalid.f90:13
+! CHECK-INVALID-CPU: 'supercpu' is not a recognized processor for this target 
(ignoring processor)
+! CHECK-INVALID-FEATURE: '+superspeed' is not a recognized feature for this 
target (ignoring feature)
----------------
awarzynski wrote:
> jrtc27 wrote:
> > Don't these come from the backend? Testing them here doesn't seem right...
> > Don't these come from the backend?
> 
> No. Both options are defined in Clang's Options.td:
> * [[ 
> https://github.com/llvm/llvm-project/blob/0aac9a2875bad4f065367e4a6553fad78605f895/clang/include/clang/Driver/Options.td#L5251-L5253
>  | -target-feaure ]]
> * [[ 
> https://github.com/llvm/llvm-project/blob/0aac9a2875bad4f065367e4a6553fad78605f895/clang/include/clang/Driver/Options.td#L5248-L5250
>  | -target-cpu ]]
Then why do they need aarch64-registered-target? Either they're coming from the 
backend and so you need the backend, or they're coming from the frontend and so 
you don't need the backend.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145883/new/

https://reviews.llvm.org/D145883

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to