[llvm] [AsmParser] Fix crash when hex literal exceeds 16-bit float range (PR #172669)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 23 03:24:10 PST 2025
================
@@ -0,0 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: not opt -S -disable-output < %s --check-prefix=HALF 2>&1
+; RUN: not opt -S -disable-output < %s --check-prefix=BFLOAT 2>&1
----------------
nikic wrote:
```suggestion
; RUN: not opt -S -disable-output < %s 2>&1 | FileCheck --check-prefix=HALF
; RUN: not opt -S -disable-output < %s 2>&1 | FileCheck --check-prefix=BFLOAT
```
Or something like that.
https://github.com/llvm/llvm-project/pull/172669
More information about the llvm-commits
mailing list