LLVM 9 crash lower

Hello,

I am having the same error as you in http://llvm.1065342.n5.nabble.com/llvm-dev-Calling-LowerSwitchPass-causing-crash-in-llvm-9-td133836.html

How did you get to solve it?

Thanks,
Andreas