[llvm] r310524 - [Hexagon] Ignore DBG_VALUEs when counting instructions in hexagon-early-if

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 07:09:17 PDT 2017

On 2017-08-10 09:57, Krzysztof Parzyszek wrote:
> On 8/10/2017 8:54 AM, Chad Rosier wrote:
>> No sure if this is useful here, but there's also the isTransient() 
>> function.  This function returns true if MI is a transient instruction 
>> that is either very likely to be eliminated during RA or if MI doesn't 
>> have an execution-time cost.
> Thanks, I didn't know about it.  In this case isMetaInstruction would
> be a good fit.

And I hadn't seen isMetaInstruction. :D  Learning something new 

> -Krzysztof

More information about the llvm-commits mailing list