Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=i686-pc-linux-gnu | grep "jns" | count 1 |
Eli Friedman | 156a668 | 2008-11-30 04:59:26 +0000 | [diff] [blame] | 2 | target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" |
| 3 | target triple = "i686-pc-linux-gnu" |
| 4 | |
| 5 | define i32 @a(i32 %x) nounwind { |
| 6 | entry: |
| 7 | %cmp = icmp ult i32 %x, -2147483648 ; <i1> [#uses=1] |
| 8 | br i1 %cmp, label %if.end, label %if.then |
| 9 | |
| 10 | if.then: ; preds = %entry |
| 11 | %call = call i32 (...)* @b() ; <i32> [#uses=0] |
| 12 | br label %if.end |
| 13 | |
| 14 | if.end: ; preds = %if.then, %entry |
| 15 | br label %return |
| 16 | |
| 17 | return: ; preds = %if.end |
| 18 | ret i32 undef |
| 19 | } |
| 20 | |
| 21 | declare i32 @b(...) |
| 22 | |