Commit ce7152a
committed
[VectorCombine] Pull out TargetCostKind argument to allow globally set cost kind value
Some prep work to allow a future patch to potentially use VectorCombine to target code size for -Os/Oz builds (setting TCK_CodeSize instead of TCK_RecipThroughput).
There's still more cleanup to do as a lot of get*Cost calls are relying on the default TargetCostKind value (usually TCK_RecipThroughput but not always).1 parent 026fbe5 commit ce7152a
1 file changed
+100
-99
lines changed
0 commit comments