[all-commits] [llvm/llvm-project] c651c0: [CodeGen] Add standard print/debug utilities to EVT
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Feb 7 08:39:03 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c651c0878ffb8a67d77d3749001fbf780f44d953
https://github.com/llvm/llvm-project/commit/c651c0878ffb8a67d77d3749001fbf780f44d953
Author: Philip Reames <preames at rivosinc.com>
Date: 2023-02-07 (Tue, 07 Feb 2023)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/ValueTypes.cpp
Log Message:
-----------
[CodeGen] Add standard print/debug utilities to EVT
Doing so makes it easier to do printf style debugging in idiomatic manner. I followed the code structure of Value with only the definition of dump being #ifdef out in non-debug builds. Not sure if this is the "right" option; we don't seem to have any single consistent scheme on how dump is handled.
Differential Revision: https://reviews.llvm.org/D143454
More information about the All-commits
mailing list