[all-commits] [llvm/llvm-project] 1e113c: [AArch64][SVE] Fix umin/umax lowering to handle ou...
huihzhang via All-commits
all-commits at lists.llvm.org
Fri Oct 23 09:44:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1e113c078a560ad71e838ab9cf6719a3d4f1ec6d
https://github.com/llvm/llvm-project/commit/1e113c078a560ad71e838ab9cf6719a3d4f1ec6d
Author: Huihui Zhang <huihuiz at quicinc.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll
M llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith-imm.ll
Log Message:
-----------
[AArch64][SVE] Fix umin/umax lowering to handle out of range imm.
Immediate must be in an integer range [0,255] for umin/umax instruction.
Extend pattern matching helper SelectSVEArithImm() to take in value type
bitwidth when checking immediate value is in range or not.
Reviewed By: sdesmalen
Differential Revision: https://reviews.llvm.org/D89831
More information about the All-commits
mailing list