[PATCH] D149575: [CodeGen] Support allocating of arguments by decreasing offsets

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 10:44:46 PDT 2023


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/unittests/CodeGen/CCStateTest.cpp:37
+
+  ASSERT_EQ(Info.AllocateStack(1, Align(1)), -1);
+  ASSERT_EQ(Info.AllocateStack(1, Align(2)), -2);
----------------
These should use EXPECT_EQ with swapped arguments 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149575



More information about the llvm-commits mailing list