Prior to r310876 one of our out-of-tree targets was enabling IPRA by modifying
the TargetOptions::EnableIPRA. This no longer works on current trunk since the
useIPRA() hook overrides any values that are set in advance. This patch adjusts
the behaviour of the hook so that API users and useIPRA() can both enable it
but useIPRA() cannot disable it if the API user already enabled it.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 10419 Build 10419: arc lint + arc unit
Event Timeline
lib/CodeGen/TargetPassConfig.cpp | ||
---|---|---|
376 | I'm confused why you would want to still be directly setting this instead of using the new hook |
lib/CodeGen/TargetPassConfig.cpp | ||
---|---|---|
376 | For a given target, the hook only allows us to enable it for every compile or disable it for every compile. We need to be able to enable it for some compiles and disable it for others. |
I'm confused why you would want to still be directly setting this instead of using the new hook