ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

trunc

T1 llvm-ir alu insn
LLVM IR Instruction: trunc (#39, TruncInst)
SourceLLVM IR Core SSA Instructions (Instruction.def) (llvm_ir_spec)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeLLVM IR (LLVM 22/23)
LLVM IR (Target-Independent SSA)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/IR/Instruction.def
Privilegeuser
ExtensionsLLVM-IR, CAST

Summary

LLVM Intermediate Representation SSA instruction trunc (opcode #39, category CAST, C++ class TruncInst).

Syntax / Encoding

trunc  ; LLVM IR CAST (TruncInst)