[PATCH] D42679: [DAGCombiner] When combining zero_extend of a truncate, only mask before extending for vectors.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 03:57:46 PST 2018
RKSimon added a reviewer: jholewinski.
RKSimon added inline comments.
================
Comment at: test/CodeGen/NVPTX/param-load-store.ll:28
+; CHECK: cvt.u32.u16 [[CVT:%r[0-9]+]], [[A8:%rs[0-9]+]];
+; CHECK: and.b32 [[A:%r[0-9]+]], [[CVT]], 1;
; CHECK: .param .b32 param0;
----------------
This looks like the only regression - I think cvt.u32.u16 effectively acts as "ZERO_EXTEND_INREG" in this case (which we don't have).
@jholewinski any thoughts?
Repository:
rL LLVM
https://reviews.llvm.org/D42679
More information about the llvm-commits
mailing list