Commit 029e102
authored
[ValueTracking] Bail out on x86_fp80 when computing fpclass with knownbits (#130477)
In #97762, we assume the
minimum possible value of X is NaN implies X is NaN. But it doesn't hold
for x86_fp80 format. If the knownbits of X are
`?'011111111111110'????????????????????????????????????????????????????????????????`,
the minimum possible value of X is NaN/unnormal. However, it can be a
normal value.
Closes #130408.1 parent 107aa6a commit 029e102
File tree
2 files changed
+19
-1
lines changed- llvm
- lib/Analysis
- test/Transforms/InstSimplify
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6208 | 6208 | | |
6209 | 6209 | | |
6210 | 6210 | | |
6211 | | - | |
| 6211 | + | |
6212 | 6212 | | |
6213 | 6213 | | |
6214 | 6214 | | |
6215 | 6215 | | |
6216 | 6216 | | |
6217 | 6217 | | |
| 6218 | + | |
6218 | 6219 | | |
6219 | 6220 | | |
6220 | 6221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments