"polly/docs" did not exist on "e80523350f6f6c559ebb5c7afd8a2b3a53307d8e"
[IR Verifier] didn't check if switch case is constant, align IR Verifier's check with LLParser.
If a programmer incorrectly `Switch->setOperand()` and `Verifier` will pass, causing problems when dumping this `Module` This patch aligns SwitchInst's check with LLParser. It also includes a test to justify the patch. Differential Revision: https://reviews.llvm.org/D136656
Loading
Please sign in to comment