[PATCH] D158530: [InferAlignment] Create tests for InferAlignment pass

Dhruv Chawla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 02:46:16 PDT 2023


0xdc03 added inline comments.


================
Comment at: llvm/test/Transforms/InferAlignment/irregular-size.ll:4
+
+define i177 @ossfuzz_9880(i177 %X) {
+; CHECK-LABEL: define i177 @ossfuzz_9880
----------------
nikic wrote:
> Argument unused.
> 
> I'd also call this `@non_pow2_size` or so, though I'm not really clear on what this is support to test wrt alignment.
> Argument unused.
> 
> I'd also call this `@non_pow2_size` or so, though I'm not really clear on what this is support to test wrt alignment.

I left this in because I felt it may be good to have testing for weird sizes so that nothing strange happens if something expects sizes to be power of two.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158530



More information about the llvm-commits mailing list