[SystemZ] Prefer LOCHI over generating IPM sequences
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 19 Jan 2018 20:56:04 +0000 (20:56 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 19 Jan 2018 20:56:04 +0000 (20:56 +0000)
commit426f6bef44c3ad0ff4bc26713979fe0c2dbb682d
treef72f89408937a68f95bf6dea3f377f2f86fe7dc3
parent31112895d966ccd5a3098866f0826a789d36f3b7
[SystemZ] Prefer LOCHI over generating IPM sequences

On current machines we have load-on-condition instructions that can be
used to directly implement the SETCC semantics.  If we have those, it is
always preferable to use them instead of generating the IPM sequence.

llvm-svn: 322989
llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
llvm/test/CodeGen/SystemZ/dag-combine-02.ll
llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll
llvm/test/CodeGen/SystemZ/vec-intrinsics-02.ll