Dan Gohman | ff00a55 | 2010-01-14 03:08:49 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=x86-64 < %s | FileCheck %s |
| 2 | |
| 3 | ; CHECK: orq |
| 4 | ; CHECK-NEXT: jne |
| 5 | |
| 6 | @_ZN11xercesc_2_513SchemaSymbols21fgURI_SCHEMAFORSCHEMAE = external constant [33 x i16], align 32 ; <[33 x i16]*> [#uses=1] |
| 7 | @_ZN11xercesc_2_56XMLUni16fgNotationStringE = external constant [9 x i16], align 16 ; <[9 x i16]*> [#uses=1] |
| 8 | |
| 9 | define fastcc void @foo() { |
| 10 | entry: |
| 11 | br i1 icmp eq (i64 or (i64 ptrtoint ([33 x i16]* @_ZN11xercesc_2_513SchemaSymbols21fgURI_SCHEMAFORSCHEMAE to i64), |
| 12 | i64 ptrtoint ([9 x i16]* @_ZN11xercesc_2_56XMLUni16fgNotationStringE to i64)), i64 0), |
| 13 | label %bb8.i329, label %bb4.i.i318.preheader |
| 14 | |
| 15 | bb4.i.i318.preheader: ; preds = %bb6 |
| 16 | unreachable |
| 17 | |
| 18 | bb8.i329: ; preds = %bb6 |
| 19 | unreachable |
| 20 | } |