[PATCH] "float2int": Add a new pass to demote from float to int where possible.

Michael Kuperstein michael.m.kuperstein at intel.com
Wed Mar 4 22:44:30 PST 2015


Hi James,

Just so we have a record of what we talked about on IRC (and can give Hal a chance to disagree :-) ).
On x86, vector i64 muls can be much worse than vector double muls. Since this is pre-LoopV, and we don't know if we'll end up with vector or scalar code, I think the safe thing to do on x86 would be to disable this for cases where we'll do a double -> i64 transformation.

This means we should probably have a target hook for that that x86 can override.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7790

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list