[PATCH] Make InstCombine aware of TargetTransformInfo when optimize extension
Krzysztof Parzyszek
kparzysz at codeaurora.org
Fri Jun 26 13:38:19 PDT 2015
On 6/26/2015 3:20 AM, Chandler Carruth wrote:
> This doesn't seem like the right approach at all.
>
> I don't think we want to use cost heuristics to dictate the canonical form in the IR. It makes the canonicalization *much* more complex and hard to manage.
Wouldn't it be reasonable to have a pass of instcombine that performs
canonicalization and another pass of it that is target-aware?
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-commits
mailing list