[PATCH] D112085: [DAGCombiner] fold bit-hack form of usubsat
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 19 14:32:47 PDT 2021
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM with one minor
================
Comment at: llvm/test/CodeGen/X86/psubus.ll:114
+; AVX512-NEXT: vpmaxud %xmm1, %xmm0, %xmm0
+; AVX512-NEXT: vpsubd %xmm1, %xmm0, %xmm0
; AVX512-NEXT: retq
----------------
We have a couple of 'UseVPTERNLOG' style checks in code already - you can add that to the D112095 special case to fix this.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112085/new/
https://reviews.llvm.org/D112085
More information about the llvm-commits
mailing list