[llvm] [InstCombine] Swap out range metadata to range attribute for arm_mve_pred_v2i (PR #94847)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 06:35:10 PDT 2024


================
@@ -4487,6 +4487,18 @@ static const MDNode *getRangeMetadata(const Instruction &I) {
   return I.getMetadata(LLVMContext::MD_range);
 }
 
+static std::optional<ConstantRange> getRange(const Instruction &I) {
----------------
nikic wrote:

Could you please split out the SDAG change into a separate PR?

https://github.com/llvm/llvm-project/pull/94847


More information about the llvm-commits mailing list