diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-19 22:40:45 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-19 22:40:45 +0000 |
commit | 20bc37c7db4ead75170d7e70145ea126a92f4a01 (patch) | |
tree | 4b7048c5321c1bab2740bd4860f61b0fe6e703f1 /llvm/lib/IR/Metadata.cpp | |
parent | c862be860d76b8b078b6eb09c9a0bda6119a4d09 (diff) | |
download | bcm5719-llvm-20bc37c7db4ead75170d7e70145ea126a92f4a01.tar.gz bcm5719-llvm-20bc37c7db4ead75170d7e70145ea126a92f4a01.zip |
[X86][AVX] Missing AVX1 memory folding float instructions
Now that we can create much more exhaustive X86 memory folding tests, this patch adds the missing AVX1/F16C floating point instruction stack foldings we can easily test for including the scalar intrinsics (add, div, max, min, mul, sub), conversions float/int to double, half precision conversions, rounding, dot product and bit test. The patch also adds a couple of obviously missing SSE instructions (more to follow once we have full SSE testing).
Now that scalar folding is working it broke a very old test (2006-10-07-ScalarSSEMiscompile.ll) - this test appears to make no sense as its trying to ensure that a scalar subtraction isn't folded as it 'would zero the top elts of the loaded vector' - this test just appears to be wrong to me.
Differential Revision: http://reviews.llvm.org/D7055
llvm-svn: 226513
Diffstat (limited to 'llvm/lib/IR/Metadata.cpp')
0 files changed, 0 insertions, 0 deletions