[llvm] r278801 - [GlobalISel] Mention pointers in LowLevelType.h. NFC.
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 07:02:36 PDT 2016
Author: ab
Date: Tue Aug 16 09:02:36 2016
New Revision: 278801
URL: http://llvm.org/viewvc/llvm-project?rev=278801&view=rev
Log:
[GlobalISel] Mention pointers in LowLevelType.h. NFC.
Modified:
llvm/trunk/include/llvm/CodeGen/LowLevelType.h
Modified: llvm/trunk/include/llvm/CodeGen/LowLevelType.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LowLevelType.h?rev=278801&r1=278800&r2=278801&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LowLevelType.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LowLevelType.h Tue Aug 16 09:02:36 2016
@@ -11,12 +11,13 @@
/// selection.
///
/// For a type attached to a MachineInstr, we only care about 2 details: total
-/// size and the number of vector lanes (if any). Accordingly, there are 3
+/// size and the number of vector lanes (if any). Accordingly, there are 4
/// possible valid type-kinds:
///
/// * `unsized` for labels etc
/// * `sN` for scalars and aggregates
/// * `<N x sM>` for vectors, which must have at least 2 elements.
+/// * `pN` for pointers
///
/// Other information required for correct selection is expected to be carried
/// by the opcode, or non-type flags. For example the distinction between G_ADD
More information about the llvm-commits
mailing list