[PATCH] D115726: [InstCombine] Fold for masked gather when loading the same value each time.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 07:16:58 PST 2022


david-arm added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/masked_intrinsics.ll:375
+
+attributes #0 = { "target-features"="+sve,+sve" }
+
----------------
Do we actually need this attribute? This test file is in a target-independent location so we should avoid using target-specific attributes here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115726



More information about the llvm-commits mailing list