[PATCH] D140965: [GlobalISel] Add G_BUILD_VECTOR[_TRUNC] to CSE

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 03:39:36 PST 2023


foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-mulo-zero.mir:91
+    ; CHECK-NEXT: %zero_vec:_(<2 x s64>) = G_BUILD_VECTOR %zero(s64), %zero(s64)
+    ; CHECK-NEXT: %mulo:_(<2 x s64>) = COPY %zero_vec(<2 x s64>)
     ; CHECK-NEXT: [[C:%[0-9]+]]:_(s1) = G_CONSTANT i1 false
----------------
What happened here?


================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector-splat.mir:1
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1100 -run-pass=legalizer %s -o - | FileCheck %s
----------------
Maybe precommit this test so we can see the diff?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140965



More information about the llvm-commits mailing list