File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
source/compiler/qsc_codegen/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -748,6 +748,7 @@ fn get_module_metadata(program: &rir::Program) -> String {
748748 for cap in program. config . capabilities . iter ( ) {
749749 match cap {
750750 TargetCapabilityFlags :: IntegerComputations => {
751+ // Use `5` as the flag to signify "Append" mode. See https://llvm.org/docs/LangRef.html#module-flags-metadata
751752 writeln ! (
752753 flags,
753754 "!{index} = !{{i32 5, !\" int_computations\" , !{{!\" i64\" }}}}" ,
@@ -756,6 +757,7 @@ fn get_module_metadata(program: &rir::Program) -> String {
756757 index += 1 ;
757758 }
758759 TargetCapabilityFlags :: FloatingPointComputations => {
760+ // Use `5` as the flag to signify "Append" mode. See https://llvm.org/docs/LangRef.html#module-flags-metadata
759761 writeln ! (
760762 flags,
761763 "!{index} = !{{i32 5, !\" float_computations\" , !{{!\" f64\" }}}}" ,
You can’t perform that action at this time.
0 commit comments