[llvm] [LLVM] Change Intrinsic::ID to encode target and intrinsic index (PR #113576)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 15:53:27 PDT 2024
================
@@ -275,7 +275,7 @@ enum {
/// Check the operand is a specific intrinsic ID
/// - InsnID(ULEB128) - Instruction ID
/// - OpIdx(ULEB128) - Operand index
- /// - IID(2) - Expected Intrinsic ID
----------------
arsenm wrote:
Could you omit the extra 2 bytes by assuming the current target's index?
https://github.com/llvm/llvm-project/pull/113576
More information about the llvm-commits
mailing list