[LangRef] Correct value ranges for address space, vector, and float bit sizes.
authorMichael Liao <michael.hliao@gmail.com>
Fri, 17 Feb 2023 20:58:23 +0000 (15:58 -0500)
committerMichael Liao <michael.hliao@gmail.com>
Fri, 24 Feb 2023 02:54:50 +0000 (21:54 -0500)
commitfe6ca546825304e49a73eaa2c4ced57e1a8d6a5b
tree81098f6ce637353c0905ac9fbd81952848409c91
parent17a2434bd66e7fab1a587236f7ed402c2f258b3d
[LangRef] Correct value ranges for address space, vector, and float bit sizes.

- The current implementation checks them for 24-bit inegers but the
  document says 23-bit one effectively by listing the range as [1,2^23).
- Minor error message correction.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D144685
llvm/docs/LangRef.rst
llvm/lib/IR/DataLayout.cpp
llvm/test/Assembler/invalid-datalayout17.ll
llvm/test/Assembler/invalid-datalayout4.ll