Commit f51e581
committed
Update call-llvm-intrinsics test for Rust 1.94.0 IR
- Rust 1.94 now passes constants directly to llvm.sqrt.f32 instead of
storing/loading via the stack.
- Updated the FileCheck pattern to match the new IR:
// CHECK: call float @llvm.sqrt.f32(float 4.000000e+00)
- Test intent unchanged: still ensures that the intrinsic is emitted
as a 'call' (not 'invoke').
- Added annotations for CI portability:
//@ add-minicore
//@ needs-llvm-components: riscv
Fixes #153271
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>1 parent 8d50bcc commit f51e581
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
0 commit comments