[PATCH] D113202: [DAG] FoldConstantArithmetic - fold bitlogic(bitcast(x),bitcast(y)) -> bitcast(bitlogic(x,y))

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 5 04:18:37 PDT 2021


dmgreen added a comment.

> @dmgreen I'm not sure what is the best fix for the MVE predicate v2i64 regressions - its expanded the bitselect patten and constant folded the 'andnot(x,c)' to 'and(x,~c)' - this was already bad codegen, I think ideally this should be narrowed to a v4i32 equivalent, but I'm not sure how best to address this - hints welcome :)

I have a task I want to get done soon which changes v2i1 to a legal type - these tests will likely all change as that happens. Feel free to ignore the MVE change until then.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113202



More information about the llvm-commits mailing list