[all-commits] [llvm/llvm-project] a43359: [TableGen] Fix wrong bits output in GenericTable (...
Wang Pengcheng via All-commits
all-commits at lists.llvm.org
Mon Sep 25 04:33:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a433592524f6d7a469023d55757caaf6bf175a26
https://github.com/llvm/llvm-project/commit/a433592524f6d7a469023d55757caaf6bf175a26
Author: Wang Pengcheng <137158460+wangpc-pp at users.noreply.github.com>
Date: 2023-09-25 (Mon, 25 Sep 2023)
Changed paths:
M llvm/test/TableGen/generic-tables.td
M llvm/utils/TableGen/SearchableTableEmitter.cpp
Log Message:
-----------
[TableGen] Fix wrong bits output in GenericTable (#66867)
We used to return `int` in `getAsInt`, while `IntInit::getValue`
returns `int64_t` and `utohexstr` needs `uint64_t`. The casting
causes the wrong hex value when printing bits value.
More information about the All-commits
mailing list