mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
[BitCode] Make sure storeatomic's argument is an actual PointerType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -222,3 +222,8 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-gep-no-operands.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=GEP-NO-OPERANDS %s
|
||||
|
||||
GEP-NO-OPERANDS: Invalid gep with no operands
|
||||
|
||||
RUN: not llvm-dis -disable-output %p/Inputs/invalid-nonpointer-storeatomic.bc 2>&1 | \
|
||||
RUN: FileCheck --check-prefix=NONPOINTER-STOREATOMIC %s
|
||||
|
||||
NONPOINTER-STOREATOMIC: Invalid record
|
||||
|
||||
Reference in New Issue
Block a user