projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[RS4GC] Fix rematerialization of bitcast of bitcast.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
Float2Int.cpp
diff --git
a/lib/Transforms/Scalar/Float2Int.cpp
b/lib/Transforms/Scalar/Float2Int.cpp
index a9a4a24f8e933cf4d0c36721471ada25937de539..7f5d78656b50bb85f2187f7befd6a1a00316be0e 100644
(file)
--- a/
lib/Transforms/Scalar/Float2Int.cpp
+++ b/
lib/Transforms/Scalar/Float2Int.cpp
@@
-131,6
+131,8
@@
static Instruction::BinaryOps mapBinOpcode(unsigned Opcode) {
// integer domain.
void Float2Int::findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots) {
for (auto &I : instructions(F)) {
+ if (isa<VectorType>(I.getType()))
+ continue;
switch (I.getOpcode()) {
default: break;
case Instruction::FPToUI: