[PATCH] D57774: [GlobalISel][NFC] Gardening: Factor out code for simple unary intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 5 11:38:05 PST 2019
arsenm added inline comments.
================
Comment at: include/llvm/CodeGen/GlobalISel/IRTranslator.h:166-168
+ /// Static map of opcodes which can be translated using
+ /// translateSimpleUnaryIntrinsic.
+ const DenseMap<unsigned, unsigned> SimpleUnaryIntrinsicOpcodes = {
----------------
Why a map instead of a simple switch function?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57774/new/
https://reviews.llvm.org/D57774
More information about the llvm-commits
mailing list