[GVN] don't propagate equality comparisons of FP zero (PR22376)
[oota-llvm.git] / test / Verifier / bitcast-address-space-through-gep-2.ll
index 3b77d9a3022338fa5ce293210abbaab3acefc263..2ee394206aef9a2a6f1ec08c8a83e055284f7f8d 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: not llvm-as -verify -disable-output %s
+; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
+
+; CHECK: error: invalid cast opcode for cast from 'i32 addrspace(2)*' to 'i32 addrspace(3)*'
 
 target datalayout = "e-p:32:32:32-p1:16:16:16-p2:8:8:8-p3:8:8:8-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n8:16:32"