Robinson, Paul via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 12 11:23:26 PDT 2017
The 'optnone' attribute was added to LLVM IR some years ago, but originally Clang used it only for the "optimize off" pragma.
Adding it to all functions when compiling at –O0 was a relatively recent change, r304127 (end of May).
From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Anastasiya Ruzhanskaya via llvm-dev
Sent: Wednesday, July 12, 2017 2:23 AM
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] noopt
I wonder in what version of llvm the noopt attribute appeared, that is inserted when O0 is specified? In some early versions I don't get this behavior.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev