[TTI][X86] Fix the value passed to IsUnsigned for cost modeling of experimental.vecto...
authorCraig Topper <craig.topper@gmail.com>
Mon, 30 Mar 2020 03:19:04 +0000 (20:19 -0700)
committerCraig Topper <craig.topper@gmail.com>
Mon, 30 Mar 2020 06:34:22 +0000 (23:34 -0700)
commitb4695351cb4ce1c4450a029a0c226dc8bb5f5d55
tree48b0b5c5cc97f08208e666ed6b6e127b39209f64
parent4e0d9925d6a3561449bdd8def27fd3f3f1b3fb9f
[TTI][X86] Fix the value passed to IsUnsigned for cost modeling of experimental.vector.reduce.smin/smax/umin/umax.

We were passing true for smax/smin and false for umax/umin.
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/test/Analysis/CostModel/X86/reduce-smax.ll
llvm/test/Analysis/CostModel/X86/reduce-smin.ll
llvm/test/Analysis/CostModel/X86/reduce-umax.ll
llvm/test/Analysis/CostModel/X86/reduce-umin.ll