Usman Nadeem
3951a73490
[Flang][Driver] Handle target CPU and features
...
This patch:
- Adds target-feature and target-cpu to FC1Options.
- Moves getTargetFeatures() from Clang.cpp to CommonArgs.cpp.
- Processes target cpu and features in the flang driver. Right now
features are only added for AArch64/x86 because I only did basic
testing on them but it should generally work for others as well.
Option handling is similar to clang.
- Adds appropriate structures in TargetOptions and passes them to
the target machine.
What's missing:
- Adding the CPU info and the features as attributes in the LLVM IR
module.
- Processing target specific flags, e.g. SVE vector bits for AArch64,
ABI etc.
Differential Revision: https://reviews.llvm.org/D137995
Change-Id: Ib081a74ea98617674845518a5d2754edba596418
2022-12-02 09:37:53 -08:00
..
2022-07-27 10:31:02 +00:00
2022-10-07 17:04:06 +00:00
2022-08-18 08:55:27 -07:00
2022-06-29 01:06:01 -07:00
2022-06-29 01:06:01 -07:00
2022-06-22 23:56:34 +08:00
2022-10-06 14:00:06 -07:00
2022-07-27 23:45:41 +08:00
2022-07-27 23:45:41 +08:00
2022-06-22 23:56:34 +08:00
2022-10-12 16:57:37 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-08-25 18:11:38 +02:00
2022-07-20 11:14:29 +00:00
2022-05-06 07:50:43 +00:00
2022-06-29 22:10:59 -07:00
2022-06-29 22:10:59 -07:00
2022-11-10 08:03:46 -07:00
2022-12-02 09:37:53 -08:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 01:06:01 -07:00
2022-10-24 22:31:41 -07:00
2022-06-29 01:06:01 -07:00
2022-06-29 01:06:01 -07:00
2022-09-14 16:33:38 +01:00
2022-10-24 22:31:41 -07:00
2022-06-29 01:06:01 -07:00
2022-11-03 12:16:22 +00:00
2022-11-03 12:16:22 +00:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-10-31 11:32:31 +00:00
2022-06-29 22:08:02 -07:00
2022-05-06 08:41:29 +00:00
2022-11-10 08:03:46 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-10-07 17:04:06 +00:00
2022-06-29 22:08:02 -07:00
2022-08-08 16:55:30 -05:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 01:06:01 -07:00
2022-08-25 21:58:59 +03:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-07-27 16:11:11 -04:00
2022-06-29 22:08:02 -07:00
2021-12-17 10:05:28 +00:00
2022-10-07 17:04:06 +00:00
2022-06-29 22:08:02 -07:00
2022-06-29 01:06:01 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-11-24 16:20:33 +01:00
2022-11-10 14:16:15 -08:00
2022-06-29 22:08:02 -07:00
2022-11-03 12:16:22 +00:00
2022-06-29 22:08:02 -07:00
2022-10-14 12:27:48 -07:00
2022-10-07 17:04:06 +00:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-05-18 08:25:45 +00:00
2022-05-06 08:41:29 +00:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-12-02 09:37:53 -08:00
2022-06-29 22:08:02 -07:00
2022-10-04 13:28:03 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-06-29 22:08:02 -07:00
2022-05-19 11:13:35 +00:00