mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
Fix float cloning (#575)
This commit is contained in:
+1
-2
@@ -966,8 +966,7 @@ static llvm::Constant *MoveConstantIntoModule(llvm::Constant *c,
|
||||
moved_c = cf;
|
||||
return cf;
|
||||
} else {
|
||||
auto ret =
|
||||
llvm::ConstantFP::get(type, cf->getValueAPF().convertToDouble());
|
||||
auto ret = llvm::ConstantFP::get(type, cf->getValueAPF());
|
||||
moved_c = ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user