[PATCH] D157202: [AArch64][GISel] Fix selection of G_CONSTANT_FOLD_BARRIER

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 13:36:07 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/select-constbarrier.mir:4
+
+--- |
+  target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
----------------
Should drop IR section


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/select-constbarrier.mir:189-197
+    ADJCALLSTACKDOWN 0, 0, implicit-def $sp, implicit $sp
+    %34:gpr(p0) = G_CONSTANT i64 0
+    $x0 = COPY %34(p0)
+    $x1 = COPY %34(p0)
+    $x2 = COPY %34(p0)
+    %31:gpr(s32) = G_CONSTANT i32 0
+    $w3 = COPY %31(s32)
----------------
This can be reduced, can try llvm-reduce mir handling


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

https://reviews.llvm.org/D157202



More information about the llvm-commits mailing list