[llvm-commits] [patch] "TargetTransform" as an API between codegen and IR-level passes

The functions that I placed in ScalarTargetTransformInfo are functions what were used by LSR and LowerInvoke. getJumpSize and getJumpAlignment are used by LowerInvoke. Do you suggest that I remove them from TargetLowering and keep them in ScalarTargetTransformInfo ?


Ah, I was confused. I forgot they are used by LowerInvoke. I just want to make sure functions that are in TargetLowering which are only used in codegen are not moved to ScalarTargetTransformInfo.