diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-01-02 21:09:05 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-01-02 21:09:05 +0000 |
commit | daf7c149e4ee76e9be777b5a6fba06f25cbb0203 (patch) | |
tree | 33140e6ebd0fe9ab96e7c1c6159cb3208c3da8b2 /test/Verifier/bitcast-alias-address-space.ll | |
parent | e151788aae061cc4ec3a7bb76a7cb5b72edc046e (diff) | |
download | llvm-daf7c149e4ee76e9be777b5a6fba06f25cbb0203.tar.gz llvm-daf7c149e4ee76e9be777b5a6fba06f25cbb0203.tar.bz2 llvm-daf7c149e4ee76e9be777b5a6fba06f25cbb0203.tar.xz |
Fix all the verifier tests I added for address spaces.
I originally had these using opt -verify, and I never removed the
-verify when converting them to use llvm-as instead, so these were
failing because of using the -verify argument which llvm-as doesn't have
instead of what it's actually supposed to be testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier/bitcast-alias-address-space.ll')
-rw-r--r-- | test/Verifier/bitcast-alias-address-space.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Verifier/bitcast-alias-address-space.ll b/test/Verifier/bitcast-alias-address-space.ll index 9cad8ab377..d9794d9e33 100644 --- a/test/Verifier/bitcast-alias-address-space.ll +++ b/test/Verifier/bitcast-alias-address-space.ll @@ -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(1)*' target datalayout = "e-p:32:32:32-p1:16:16:16-p2:32:32:32-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" |