aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/llvmAsmParser.y
diff options
context:
space:
mode:
authorDan Gohman <djg@cray.com>2007-11-05 23:35:22 +0000
committerDan Gohman <djg@cray.com>2007-11-05 23:35:22 +0000
commit3e3fd8cf1c6bb2bff373903ff55d8c7562b2f4ea (patch)
tree481f92f987d3ba4c8c2f4d117b6ec0c93fc69032 /lib/AsmParser/llvmAsmParser.y
parentdb3dd96e4c2609656a50128e79bdeadb6490a24a (diff)
downloadexternal_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.y5
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);