1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
7 define i8 @foo(i1 %c, i8 %v0, i8 %v1) {
10 ; CHECK-NEXT: [[V0_V1:%.*]] = select i1 [[C:%.*]], i8 [[V0:%.*]], i8 [[V1:%.*]]
11 ; CHECK-NEXT: ret i8 [[V0_V1]]
14 br i1 %c, label %true, label %false