[llvm] [X86][GlobalISel] Enable G_SDIV/G_UDIV/G_SREM/G_UREM (PR #81615)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 01:13:29 PST 2024


================
@@ -0,0 +1,176 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s --check-prefixes=CHECK,X64
+# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s --check-prefixes=CHECK,X86
+
+--- |
+  source_filename = "sdiv.ll"
----------------
arsenm wrote:

No, it's needed for a specific set of IR references (block names, IR values in MMOs, and global references)

https://github.com/llvm/llvm-project/pull/81615


More information about the llvm-commits mailing list