From db3f0826b60c967839c9bae2577f1abd10f0a548 Mon Sep 17 00:00:00 2001 From: Stefan Pintilie Date: Thu, 27 Jun 2024 16:23:55 -0500 Subject: [PATCH] Added little comment to each test. --- llvm/test/CodeGen/PowerPC/subreg-coalescer.mir | 4 ++++ llvm/test/CodeGen/X86/subreg-fail.mir | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/llvm/test/CodeGen/PowerPC/subreg-coalescer.mir b/llvm/test/CodeGen/PowerPC/subreg-coalescer.mir index f58a0d0cd96a63..818a5e23407227 100644 --- a/llvm/test/CodeGen/PowerPC/subreg-coalescer.mir +++ b/llvm/test/CodeGen/PowerPC/subreg-coalescer.mir @@ -2,6 +2,10 @@ # RUN: llc -mtriple powerpc64le-unknown-linux-gnu -mcpu=pwr8 -x mir < %s \ # RUN: -verify-coalescing --run-pass=register-coalescer -o - | FileCheck %s +# Check that the register coalescer correctly handles merging live ranges over +# SUBREG_TO_REG on PowerPC. The -verify-coalescing option will give an error if +# this is incorrect. + --- name: check_subregs alignment: 16 diff --git a/llvm/test/CodeGen/X86/subreg-fail.mir b/llvm/test/CodeGen/X86/subreg-fail.mir index 7e91bbf350866c..ba6fd90cf811d4 100644 --- a/llvm/test/CodeGen/X86/subreg-fail.mir +++ b/llvm/test/CodeGen/X86/subreg-fail.mir @@ -3,6 +3,10 @@ # RUN: -verify-coalescing -enable-subreg-liveness=true \ # RUN: --run-pass=register-coalescer -o - | FileCheck %s +# Check that the register coalescer correctly handles merging live ranges over +# SUBREG_TO_REG on X86. The -verify-coalescing option will give an error if +# this is incorrect. + --- name: test1 alignment: 16