I don't know anything about this pass, so this is a minimal fix to prevent the crashing seen in:
https://bugs.llvm.org/show_bug.cgi?id=42932
...when converting a constant integer of arbitrary width to uint64_t.
Details
Details
Diff Detail
Diff Detail