[TypePromotion] Don't mutate the result type of SwitchInst.
SwitchInst should have a void result type. Add a check to the verifier to catch this error. Reviewed By: samparker Differential Revision: https://reviews.llvm.org/D108084
Loading
Please register or sign in to comment