[PATCH] D79987: [DAG] SimplifyDemandedVectorElts Bug fix for rG7cb5a51f386d

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 08:01:47 PDT 2020


RKSimon added a comment.

I'm still looking at fixing getFauxShuffleMask (PR45974) but that might take a while, so this sort of approach is probably necessary.

Did you investigate replacing getTargetShuffleInputs with getTargetShuffleAndZeroables in the SimplifyDemandedBitsForTargetNode/SimplifyDemandedVectorEltsForTargetNode?



================
Comment at: llvm/test/CodeGen/X86/simplifydemandedvectorselts-broadcast.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=core-avx2 | FileCheck %s
+
----------------
-use -mattr=+avx2 instead of -mcpu=core-avx2


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79987/new/

https://reviews.llvm.org/D79987





More information about the llvm-commits mailing list