We were only allowing ConstantInt before. This patch allows splat of ConstantInt too.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you commit this one first with at least one test independent of those in D36498 to avoid the extra inst regressions seen there?
Comment Actions
Sure I'll flip the dependency and use the cast.ll test cases from here only. Do you need me to upload the altered patch to this or can you approve as is?
lib/Transforms/InstCombine/InstCombineCasts.cpp | ||
---|---|---|
360 ↗ | (On Diff #111224) | I think you want to brace this case same as the rest. |