[llvm] r327022 - [StructurizeCFG] auto-generate full checks; NFC

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 08:31:39 PST 2018



> On Mar 8, 2018, at 11:25, Sanjay Patel via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: spatel
> Date: Thu Mar  8 08:25:37 2018
> New Revision: 327022
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=327022&view=rev
> Log:
> [StructurizeCFG] auto-generate full checks; NFC
> 
> Not sure what the intent of this test is, but this will change when we fix FP undef constant folding.
> 
> Modified:
>    llvm/trunk/test/Transforms/StructurizeCFG/invert-constantexpr.ll


I think this just needs to be any constantexpr condition that doesn’t fold down to a simple constant true/false. If FP ops fold away it might need to be a compare of a global address or something

-Matt



More information about the llvm-commits mailing list