Skip to content

Commit c632466

Browse files
authored
[WebAssembly] Add a missing break statement (#133783)
This fixes an issue introduced in #132430 where a `break;` statement was accidentally missing causing unintended fall-through.
1 parent 225f6dd commit c632466

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ void WebAssemblyTargetLowering::computeKnownBitsForTargetNode(
11091109
break;
11101110
}
11111111
}
1112+
break;
11121113
}
11131114

11141115
// For 128-bit addition if the upper bits are all zero then it's known that

0 commit comments

Comments
 (0)