[llvm] 3d34f7b - [GlobalIsel][X86] Rename x86_64-select-fcmp.mir to select-fcmp.mir and add 32-bit test coverage

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 04:41:39 PDT 2023


Author: Simon Pilgrim
Date: 2023-06-12T12:41:27+01:00
New Revision: 3d34f7be73443fb947f987fc96ddd137bb9cd641

URL: https://github.com/llvm/llvm-project/commit/3d34f7be73443fb947f987fc96ddd137bb9cd641
DIFF: https://github.com/llvm/llvm-project/commit/3d34f7be73443fb947f987fc96ddd137bb9cd641.diff

LOG: [GlobalIsel][X86] Rename x86_64-select-fcmp.mir to select-fcmp.mir and add 32-bit test coverage

x86_64 was being used as shorthand for SSE2

Added: 
    llvm/test/CodeGen/X86/GlobalISel/select-fcmp.mir

Modified: 
    

Removed: 
    llvm/test/CodeGen/X86/GlobalISel/x86_64-select-fcmp.mir


################################################################################
diff  --git a/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-fcmp.mir b/llvm/test/CodeGen/X86/GlobalISel/select-fcmp.mir
similarity index 99%
rename from llvm/test/CodeGen/X86/GlobalISel/x86_64-select-fcmp.mir
rename to llvm/test/CodeGen/X86/GlobalISel/select-fcmp.mir
index e60720cfa87ea..2f0e60d53b9b0 100644
--- a/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-fcmp.mir
+++ b/llvm/test/CodeGen/X86/GlobalISel/select-fcmp.mir
@@ -1,5 +1,6 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 # RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=i386-linux-gnu -mattr=+sse2 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
 
 --- |
 


        


More information about the llvm-commits mailing list