[PATCH] D121869: [WebAssembly] Disable SimplifyDemandedVectorElts after legalization

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 19:55:30 PDT 2022


aheejin added a comment.

I wasn't able to check performances for real-world programs myself, but there's no changes in our existing tests. I don't think it will have a huge impact because I made the condition fairly specific: we bail out only when it is a `build_vector` and the DAG is already type-legalized and legalized, meaning it does so only in the very last stage before instruction selection. Also I'm not sure if there's any other way around this at this point.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121869



More information about the llvm-commits mailing list