diff options
author | Dan Gohman <djg@cray.com> | 2007-11-05 23:35:22 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-11-05 23:35:22 +0000 |
commit | 3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea (patch) | |
tree | 481f92f987d3ba4c8c2f4d117b6ec0c93fc69032 /lib/AsmParser/llvmAsmParser.y | |
parent | db3dd96e4c2609656a50128e79bdeadb6490a24a (diff) | |
download | external_llvm-3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea.zip external_llvm-3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea.tar.gz external_llvm-3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea.tar.bz2 |
Add support for vector remainder operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 7084538..f1c385f 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -2812,11 +2812,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { !isa<VectorType>((*$2).get())) GEN_ERROR( "Arithmetic operator requires integer, FP, or packed operands"); - if (isa<VectorType>((*$2).get()) && - ($1 == Instruction::URem || - $1 == Instruction::SRem || - $1 == Instruction::FRem)) - GEN_ERROR("Remainder not supported on vector types"); Value* val1 = getVal(*$2, $3); CHECK_FOR_ERROR Value* val2 = getVal(*$2, $5); |