mikaelholmen wrote: Hello @fmayer !
If I compile this patch with UBSan (-DLLVM_USE_SANITIZER='Undefined') and run tests, I see the following for many many lit tests: ``` ../include/llvm/Support/CommandLine.h:601:13: runtime error: load of value 2, which is not a valid value for type 'const RecordStackHistoryMode' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../include/llvm/Support/CommandLine.h:601:13 in ``` Can e.g. be seen with ``` llc -verify-machineinstrs -o - test/CodeGen/AArch64/ldst-unscaledimm.ll -mtriple=aarch64-linux-gnu ``` if you compiled llc with UBSan. https://github.com/llvm/llvm-project/pull/86356 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits