[PATCH] D49837: [SelectionDAG] Handle unary SelectPatternFlavor for ABS case in SelectionDAGBuilder::visitSelect.
    Nemanja Ivanovic via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar 20 16:53:49 PDT 2019
    
    
  
nemanjai added a comment.
It would appear that the fix for PR 41149 should be fairly straightforward. The vector type legalizer just needs to learn about `ISD::ABS`. Likely just another `case` to be added in `ScalarizeVectorResult()`.
PR 41160 is a common pitfall with DAG combines. I've gone ahead and reduced the test case provided in the PR.
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D49837/new/
https://reviews.llvm.org/D49837
    
    
More information about the llvm-commits
mailing list