[PATCH] D122796: [SVE][AArch64] Enable first active true vector combine for INTRINSIC_WO_CHAIN

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 09:02:09 PDT 2022


paulwalker-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14519
+      (SetCC.getOpcode() != ISD::SETCC &&
+       SetCC.getOpcode() != ISD::INTRINSIC_WO_CHAIN))
     return SDValue();
----------------
david-arm wrote:
> Hi @Allen, don't you also have to check the first operand to see if it matches the intrinsic, i.e. aarch64_sve_whilelo or aarch64_sve_whilels?
I guess I should have asked this a couple of patches ago but being provocative what's the value in having any restriction here?  I recall something about allowing hoisting from loops but is this really a necessary consideration at this phase of compilation? Are there other things to consider?


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

https://reviews.llvm.org/D122796



More information about the llvm-commits mailing list