[llvm-dev] Why OperandTraits are more efficient.

Shi, Qingkai via llvm-dev llvm-dev at lists.llvm.org
Wed May 30 20:42:50 PDT 2018


Hi

I found there have been op_begin()/op_end() in the class User, but there
are also similar definitions in subclasses using OperandTraits, which is
assumed to be more efficient according to the code comments. I wonder
why OperandTraits are more efficient. Could you explain a bit?



-- 
Best Wishes
Qingkai SHI

The Department of Computer Science and Engineering,
The Hong Kong University of Science and Technology, HKSAR, China.
Tel:+86-1842-0151-190, +852-5578-1990
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180531/a36a336c/attachment-0001.html>


More information about the llvm-dev mailing list