Commit 367d5c1
[Inline] Enable constant folding for fpbuiltin sqrt (#19746)
Constant folding should meet any accuracy requirements enforceby the
fpbuiltin intrinsic as it provides correctly-rounded implementation.
---------
Co-authored-by: Marcos Maronas <[email protected]>1 parent ad63849 commit 367d5c1
File tree
2 files changed
+22
-0
lines changed- llvm
- lib/Analysis
- test/Transforms/Inline
2 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1702 | 1702 | | |
1703 | 1703 | | |
1704 | 1704 | | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
1705 | 1711 | | |
1706 | 1712 | | |
1707 | 1713 | | |
| |||
2549 | 2555 | | |
2550 | 2556 | | |
2551 | 2557 | | |
| 2558 | + | |
2552 | 2559 | | |
2553 | 2560 | | |
2554 | 2561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
0 commit comments