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 {
748
748
for cap in program. config . capabilities . iter ( ) {
749
749
match cap {
750
750
TargetCapabilityFlags :: IntegerComputations => {
751
+ // Use `5` as the flag to signify "Append" mode. See https://llvm.org/docs/LangRef.html#module-flags-metadata
751
752
writeln ! (
752
753
flags,
753
754
"!{index} = !{{i32 5, !\" int_computations\" , !{{!\" i64\" }}}}" ,
@@ -756,6 +757,7 @@ fn get_module_metadata(program: &rir::Program) -> String {
756
757
index += 1 ;
757
758
}
758
759
TargetCapabilityFlags :: FloatingPointComputations => {
760
+ // Use `5` as the flag to signify "Append" mode. See https://llvm.org/docs/LangRef.html#module-flags-metadata
759
761
writeln ! (
760
762
flags,
761
763
"!{index} = !{{i32 5, !\" float_computations\" , !{{!\" f64\" }}}}" ,
You can’t perform that action at this time.
0 commit comments