[PATCH] D58887: PHI nodes are not `FPMathOperator` s
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 3 13:59:12 PST 2019
sanjoy created this revision.
sanjoy added a reviewer: chandlerc.
Herald added subscribers: bixia, jlebar, mcrosier.
Herald added a project: LLVM.
Repository:
rL LLVM
https://reviews.llvm.org/D58887
Files:
include/llvm/IR/Operator.h
Index: include/llvm/IR/Operator.h
===================================================================
--- include/llvm/IR/Operator.h
+++ include/llvm/IR/Operator.h
@@ -379,6 +379,7 @@
case Instruction::ExtractElement:
case Instruction::ShuffleVector:
case Instruction::InsertElement:
+ case Instruction::PHI:
return false;
default:
return V->getType()->isFPOrFPVectorTy();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58887.189096.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190303/1dd0b523/attachment.bin>
More information about the llvm-commits
mailing list