Skip to content

Commit f876b18

Browse files
committed
Add TODOs
1 parent 49e65a0 commit f876b18

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
781781
return self.context.new_call(self.location, fmod, &[a, b]);
782782
}
783783
TypeKind::FP128 => {
784+
// TODO(antoyo): use get_simple_function_f128_2args.
784785
let f128_type = self.type_f128();
785786
let fmodf128 = self.context.new_function(
786787
None,

src/intrinsic/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
266266
let fn_args = instance.args;
267267

268268
let simple = get_simple_intrinsic(self, name);
269+
// TODO(antoyo): Only call get_simple_function_f128 and get_simple_function_f128_2args when
270+
// it is the symbols for the supported f128 builtins.
269271
let simple_func = get_simple_function(self, name)
270272
.or_else(|| get_simple_function_f128(self, name))
271273
.or_else(|| get_simple_function_f128_2args(self, name));

0 commit comments

Comments
 (0)