[llvm] 56b2130 - [NFC] Remove undef from xfailed SimplifyCFG test
Dmitry Makogon via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 23 00:54:38 PDT 2022
Author: Dmitry Makogon
Date: 2022-08-23T14:53:05+07:00
New Revision: 56b213090fdcab87170c660e9713d2354f71c282
URL: https://github.com/llvm/llvm-project/commit/56b213090fdcab87170c660e9713d2354f71c282
DIFF: https://github.com/llvm/llvm-project/commit/56b213090fdcab87170c660e9713d2354f71c282.diff
LOG: [NFC] Remove undef from xfailed SimplifyCFG test
The test fails not because of undef, so replacing with
normal condition.
Added:
Modified:
llvm/test/Transforms/SimplifyCFG/pr52290.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/SimplifyCFG/pr52290.ll b/llvm/test/Transforms/SimplifyCFG/pr52290.ll
index 02e1455654f35..0f2f7a7393b39 100644
--- a/llvm/test/Transforms/SimplifyCFG/pr52290.ll
+++ b/llvm/test/Transforms/SimplifyCFG/pr52290.ll
@@ -8,18 +8,18 @@
; ModuleID = 'test/Transforms/SimplifyCFG/pr-new.ll'
source_filename = "test/Transforms/SimplifyCFG/pr-new.ll"
-define i32 @test(float %arg) gc "statepoint-example" personality i32* ()* @blam {
+define i32 @test(float %arg, i1 %c) gc "statepoint-example" personality i32* ()* @blam {
; CHECK-LABEL: @test
bb:
%tmp = call i1 @llvm.experimental.widenable.condition()
br i1 %tmp, label %bb2, label %bb1
bb1: ; preds = %bb
- br i1 undef, label %bb7, label %bb5
+ br i1 %c, label %bb7, label %bb5
bb2: ; preds = %bb
%tmp3 = getelementptr inbounds i8, i8 addrspace(1)* undef, i64 16
- br i1 undef, label %bb6, label %bb4
+ br i1 %c, label %bb6, label %bb4
bb4: ; preds = %bb2
call void @snork() [ "deopt"() ]
More information about the llvm-commits
mailing list