[llvm] [PATCH 1/2] AMDGPU: Factor out EOP query.

Matt Arsenault Matthew.Arsenault at amd.com
Mon Aug 3 15:09:31 PDT 2015


On 08/03/2015 04:02 AM, Zoltan Gilian wrote:
>   
> +static inline bool IsEOP(MachineBasicBlock::iterator I)
> +{
> +  return std::next(I)->getOpcode() == AMDGPU::RETURN;
> +}
> +
Brace should be on previous line and name should be isEOP(). Other than 
that LGTM



More information about the llvm-commits mailing list