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

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 09:00:16 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"
----------------
e-kud wrote:

I've always thought that IR section is needed to regenerate MIR if something has changed. Or is it not a common practice?

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


More information about the llvm-commits mailing list