[PATCH] D54278: [SelectionDAG] Teach getNode to constant fold SIGN/ZERO/ANY_EXTEND_VECTOR_INREG
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Nov 19 14:28:44 PST 2018
    
    
  
craig.topper added a comment.
Removing any of the constant folding code in X86 requires committing https://reviews.llvm.org/D54276 first so that we can still see constant MULH inputs as build_vectors and DAG combine them that way. With MULH lowering happening during DAG legalization we don't get a chance to constant fold until they have been turned into constant pool entries and that requires target specific constant folding.
https://reviews.llvm.org/D54278
    
    
More information about the llvm-commits
mailing list