Constant folding for shift IR instructions ignores all bits above 32 of second argument (shift amount). Because of that, some undef results are not recognized and APInt can raise an assert failure if second argument has more than 64 bits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
My first LGTM, thanks. What should I do with the patch now? Phabricator requires action from me.
Comment Actions
Can someone apply this patch to the trunk?
I accidentally closed the review playing with arc.