[llvm] r230141 - Calling memmove on a MachineOperand is totally safe.

Joerg Sonnenberger joerg at britannica.bec.de
Sun Feb 22 05:36:44 PST 2015


On Sat, Feb 21, 2015 at 04:22:49PM -0000, Benjamin Kramer wrote:
> Author: d0k
> Date: Sat Feb 21 10:22:48 2015
> New Revision: 230141
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=230141&view=rev
> Log:
> Calling memmove on a MachineOperand is totally safe.
> 
> While it's not POD due to the user-defined constructor, it's still a trivially
> copyable type. No functional change.

Why doesn't the compiler figure this out itself?

Joerg



More information about the llvm-commits mailing list