[PATCH] D155638: [llvm-reduce] Reduce function calling convention

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 14:25:08 PDT 2023


aeubanks added a comment.

> If we wanted llvm-reduce to optimize for codegen tests, it should probably do things like add `nounwind` attributes to functions to avoid CFI, convert globals to internal linkage to avoid relocations, etc.

In the past I've suggested a llvm-reduce flag that would change the reduction behavior to do this since I can definitely see it being useful for debugging codegen issues, but llvm-reduce is a general IR reduction tool which I mostly view as providing nice minimal test cases (text-wise) to put into llvm tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155638



More information about the llvm-commits mailing list