Skip to content

Commit bb71b47

Browse files
committed
[WebAssembly] Add gc target feature to addBleedingEdgeFeatures
llvm#150201 (comment)
1 parent d532d58 commit bb71b47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Basic/Targets/WebAssembly.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ bool WebAssemblyTargetInfo::initFeatureMap(
197197
Features["multimemory"] = true;
198198
Features["tail-call"] = true;
199199
Features["wide-arithmetic"] = true;
200+
Features["gc"] = true;
200201
setSIMDLevel(Features, RelaxedSIMD, true);
201202
};
202203
if (CPU == "generic") {

0 commit comments

Comments
 (0)