[llvm-commits] [PATCH] Missing check for FlagNW in ScalarEvolution analysis

Brendon Cahoon bcahoon at codeaurora.org
Fri Nov 4 07:07:31 PDT 2011


Great.  I do not have commit access so I would appreciate it if you could
commit it.

Thanks,
-- Brendon

--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum

-----Original Message-----
From: Nick Lewycky [mailto:nicholas at mxc.ca] 
Sent: Friday, November 04, 2011 12:17 AM
To: Brendon Cahoon
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [PATCH] Missing check for FlagNW in
ScalarEvolution analysis

Brendon Cahoon wrote:
>
> This small patch adds the FlagNW flag to an existing check for NoWrap in
> HowManyLessThans. Without the check for FlagNW, the function returns
> CountNotCompute on some loops where it should be able to determine the
> number of times a back edge will execute. The test case in the patch
> shows an example loop.

Looks great, you even included a test, no regressions in llvm-test. Do 
you have commit access or would you like me to commit it for you?

Nick




More information about the llvm-commits mailing list