[PATCH] D148551: [TTI][BPF] Ensure ArgumentPromotion Not Exceeding Target MaxArgs

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 17 16:18:38 PDT 2023


aeubanks added a comment.

what about combining arguments in the backend (basically undoing this transformation)? that would generalize better to other passes and input IR



================
Comment at: llvm/test/CodeGen/BPF/argumentpromotion.ll:1
+; RUN: opt -O2 -mtriple=bpf-pc-linux -S %s | FileCheck %s
+; Source:
----------------
this should only run argument promotion, not the entire O2 pipeline

also, this test case needs to be reduced a lot more, there's a lot of unrelated things in the IR here


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148551



More information about the llvm-commits mailing list