diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-17 20:53:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-17 20:53:22 -0800 |
commit | 1604e09ebcc3e08ef371d677fb33fc8e38db9757 (patch) | |
tree | 932b4f05021650f4b4ee19333f3e1b8579cdb839 /lib/Transforms | |
parent | fe69b3ca07c59ae0396323dc48af22b7b3d64ace (diff) |
legalize fptoui
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/NaCl/ExpandI64.cpp | 2 |
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 } |