aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/NaCl/ExpandI64.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/ExpandI64.cpp b/lib/Transforms/NaCl/ExpandI64.cpp
index dce539e9cd..eadf7e900a 100644
--- a/lib/Transforms/NaCl/ExpandI64.cpp
+++ b/lib/Transforms/NaCl/ExpandI64.cpp
@@ -450,6 +450,7 @@ void ExpandI64::splitInst(Instruction *I, DataLayout& DL) {
Split.LowHigh.High = H;
break;
}
+ case Instruction::FPToUI:
case Instruction::FPToSI: {
ensureFuncs();
SmallVector<Value *, 1> Args;
@@ -530,6 +531,7 @@ void ExpandI64::finalizeInst(Instruction *I) {
case Instruction::Load:
case Instruction::SExt:
case Instruction::ZExt:
+ case Instruction::FPToUI:
case Instruction::FPToSI: {
break; // input was legal
}