This will provide a more consistent view to codegen for these
attributes. The current system is somewhat awkward, and the fields in
TargetOptions are reset based on the command line flag if the
attribute isn't set. By forcing these attributes with the flag, there
can never be an inconsistency in the behavior if code directly
inspects the attribute on the function without considering the command
line flags.
Details
Details
- Reviewers
echristo
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I've thought about putting a bit in the function/MachineFunction for these, partly as an aid to writing IR-free MIR tests. I think that's the next step