[llvm] 8824318 - X86: Make test check more precise

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 27 07:29:39 PST 2022


Author: Matt Arsenault
Date: 2022-11-27T10:17:38-05:00
New Revision: 88243185123cbc3a7b0dcf386f6e4e2cf4abcc79

URL: https://github.com/llvm/llvm-project/commit/88243185123cbc3a7b0dcf386f6e4e2cf4abcc79
DIFF: https://github.com/llvm/llvm-project/commit/88243185123cbc3a7b0dcf386f6e4e2cf4abcc79.diff

LOG: X86: Make test check more precise

This is really checking an i8*, not an i8.

Added: 
    

Modified: 
    llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll b/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll
index 1121abb73146..b8eedea664fe 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
 


        


More information about the llvm-commits mailing list