diff options
author | Craig Topper <craig.topper@intel.com> | 2018-07-17 05:48:48 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-07-17 05:48:48 +0000 |
commit | c376a1916b87e2c6330dc43cf9d49acf3ad33a3b (patch) | |
tree | fad3d5ce38b1d9ae7c1fe3e7f00632a80543f31f /llvm/lib/Target/Sparc | |
parent | c89ef8b13e90bdbcdca9870f707f3d7d04c7986d (diff) | |
download | bcm5719-llvm-c376a1916b87e2c6330dc43cf9d49acf3ad33a3b.tar.gz bcm5719-llvm-c376a1916b87e2c6330dc43cf9d49acf3ad33a3b.zip |
[X86] Add full set of patterns for turning ceil/floor/trunc/rint/nearbyint into rndscale with loads, broadcast, and masking.
This amounts to pretty ridiculous number of patterns. Ideally we'd canonicalize the X86ISD::VRNDSCALE earlier to reuse those patterns. I briefly looked into doing that, but some strict FP operations could still get converted to rint and nearbyint during isel. It's probably still worthwhile to look into. This patch is meant as a starting point to work from.
llvm-svn: 337234
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions