3 Commits

Author SHA1 Message Date
Sergei Barannikov
4a98f52281
[StructuralHashPrinter] Always print 16-digit hash (#101655)
The hash may contain less than 14 significant digits, which caused the
test to fail.
2024-08-02 16:45:22 +03:00
Nikita Popov
4169338e75
[IR] Don't include Module.h in Analysis.h (NFC) (#97023)
Replace it with a forward declaration instead. Analysis.h is pulled in
by all passes, but not all passes need to access the module.
2024-06-28 14:30:47 +02:00
Aiden Grossman
3a42b1fd3e [IR] Add SturcturalHash printer pass
This patch adds in a StructuralHash printer pass that prints out the
hexadeicmal representation of the hash of a module and all of the
functions within it.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D158317
2023-08-29 18:59:52 -07:00