[llvm] r307179 - [DAGCombiner] visitRotate patch to optimize pair of ROTR/ROTL instructions into one with combined shift operand.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 12:31:17 PDT 2017


Thanks for the test case, it should be fixed by rL307900

> On 12 Jul 2017, at 21:54, Joerg Sonnenberger via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> On Wed, Jul 05, 2017 at 05:55:43PM -0000, Andrew Zhogin via llvm-commits wrote:
>> Author: andrew.zhogin
>> Date: Wed Jul  5 10:55:42 2017
>> New Revision: 307179
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=307179&view=rev
>> Log:
>> [DAGCombiner] visitRotate patch to optimize pair of ROTR/ROTL instructions into one with combined shift operand.
>> 
>> For two ROTR operations with shifts C1, C2; combined shift operand will be (C1 + C2) % bitsize.
> 
> This crashes during the Qt build. Reproducer is attached, try -O2.
> 
> Joerg
> <qfontengine-ddd36c.cpp>_______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list