authorgravatar for shawn@git.icuShawn Landden <shawn@git.icu> 2019-06-21 08:43:10-05:00
committergravatar for shawn@git.icuShawn Landden <shawn@git.icu> 2019-06-21 08:44:20-05:00
logebde2ff899c16612c7ff58df61f3946be47c51c8
tree91be87f074e78742f3c8ec0f904b99fc9d3b4477
parent39ad072a84af006ab89b72177524a859a50bb662

stage1: update fn_key_eql() for @mulAdd() on vectors


1 files changed, 3 insertions(+), 1 deletions(-)

src/analyze.cpp+3-1
...@@ -5772,8 +5772,10 @@ bool zig_llvm_fn_key_eql(ZigLLVMFnKey a, ZigLLVMFnKey b) {...@@ -5772,8 +5772,10 @@ bool zig_llvm_fn_key_eql(ZigLLVMFnKey a, ZigLLVMFnKey b) {
5772 case ZigLLVMFnIdFloor:5772 case ZigLLVMFnIdFloor:
5773 case ZigLLVMFnIdCeil:5773 case ZigLLVMFnIdCeil:
5774 case ZigLLVMFnIdSqrt:5774 case ZigLLVMFnIdSqrt:
5775 case ZigLLVMFnIdFMA:
5776 return a.data.floating.bit_count == b.data.floating.bit_count;5775 return a.data.floating.bit_count == b.data.floating.bit_count;
5776 case ZigLLVMFnIdFMA:
5777 return a.data.floating.bit_count == b.data.floating.bit_count &&
5778 a.data.floating.vector_len == b.data.floating.vector_len;
5777 case ZigLLVMFnIdOverflowArithmetic:5779 case ZigLLVMFnIdOverflowArithmetic:
5778 return (a.data.overflow_arithmetic.bit_count == b.data.overflow_arithmetic.bit_count) &&5780 return (a.data.overflow_arithmetic.bit_count == b.data.overflow_arithmetic.bit_count) &&
5779 (a.data.overflow_arithmetic.add_sub_mul == b.data.overflow_arithmetic.add_sub_mul) &&5781 (a.data.overflow_arithmetic.add_sub_mul == b.data.overflow_arithmetic.add_sub_mul) &&