1 ; RUN: opt -S -instcombine < %s | FileCheck %s 2 3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4 target triple = "x86_64-unknown-linux-gnu" 5 6 define i1 @f(i8* %a, i8 %b) { 7 ; CHECK-LABEL: @f( 8 entry: 9 %or = or i8 %b, -117 10 %sub = add i8 %or, -1 11 store i8 %sub, i8* %a, align 1 12 %cmp = icmp ugt i8 %or, %sub 13 ret i1 %cmp 14 ; CHECK: ret i1 true 15 } 16