From 88243185123cbc3a7b0dcf386f6e4e2cf4abcc79 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sun, 27 Nov 2022 10:17:38 -0500 Subject: [PATCH] X86: Make test check more precise This is really checking an i8*, not an i8. --- llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll b/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll index 1121abb..b8eedea 100644 --- a/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll +++ b/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll @@ -14,7 +14,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata, metadata) #2 ; CodeGenPrepare will want to sink these bitcasts, but it selects the catchpad ; blocks as the place to which the bitcast should be sunk. Since catchpads -; do not allow non-phi instructions before the terminator, this isn't possible. +; do not allow non-phi instructions before the terminator, this isn't possible. ; CHECK-LABEL: @test( define void @test(i32* %addr) personality i32 (...)* @__CxxFrameHandler3 { @@ -88,7 +88,7 @@ catch: catchret from %cp1 to label %ret ; CHECK: catch.dispatch: -; CHECK-NEXT: phi i8 +; CHECK-NEXT: phi i8* ; CHECK-NEXT: catchswitch ; CHECK-NOT: llvm.dbg.value -- 2.7.4