This is a simple addition to the convertPhiTypes in CodeGenPrepare to consider and convert constants as it converts the phi type. Someone fixed the bug in the motivating example, so the undef is now a constant 0. This does mean converting between integer and floating point constants, which may have different materialization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo