[PATCH] D54836: [X86] Add DAG combine to combine a v8i32->v8i16 truncate with a packuswb that truncates v8i16->v8i8.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 26 14:20:26 PST 2018
craig.topper marked an inline comment as done.
craig.topper added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:9082
+ // If we have (AssertZext (truncate (AssertSext X, iX)), iY) and Y is smaller
+ // than X. Just move the AssertZext in front of the truncate and drop the
----------------
I wonder if we could just float all Asserts above truncates? And more aggressively merge adjacent asserts?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54836/new/
https://reviews.llvm.org/D54836
More information about the llvm-commits
mailing list