[all-commits] [llvm/llvm-project] 594d0c: [TableGen] Fix warning when compiling generated MC...
Jay Foad via All-commits
all-commits at lists.llvm.org
Thu Mar 4 10:35:49 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 594d0c34961d3065d7abfbace5892dd42be040c9
https://github.com/llvm/llvm-project/commit/594d0c34961d3065d7abfbace5892dd42be040c9
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-03-04 (Thu, 04 Mar 2021)
Changed paths:
M llvm/utils/TableGen/CodeEmitterGen.cpp
Log Message:
-----------
[TableGen] Fix warning when compiling generated MCCodeEmitter
This fixes an instance of:
warning: cast from 'const unsigned long *' to 'unsigned char *' drops const qualifier [-Wcast-qual]
when compiling the generated MCCodeEmitter for an out-of-tree target
that uses the optional support for instruction widths > 64 bits.
Differential Revision: https://reviews.llvm.org/D97942
More information about the All-commits
mailing list