Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #131924

Closed
wants to merge 19 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

RalfJung and others added 19 commits October 18, 2024 09:10
Fixes rust-lang#131471 by checking if the range-start is a literal.
- Implement environment variable functions
- Using EFI Shell protocol.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
- Since in almost all cases, there will only be 1 UEFI shell, share the
  shell handle between all functions that require it.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
std: uefi: Add basic Env variables

- Implement environment variable functions
- Using EFI Shell protocol.
…errors

Fix range misleading field access

Fixes rust-lang#131471 by checking if the range-start is a literal.
bootstrap: allow setting `--jobs` in config.toml

Allow setting `--jobs` in config.toml's `[build]` section.

```toml
[build]
jobs = 0
```

If this is unset or set to zero in config.toml, we look at `--jobs` flag. If that is also unset, then we fallback to `std::thread::available_parallelism`. If that is not available, then we default to `1`. The flags and `available_parallelism` fallback are already setup, this PR just adds a config.toml option to wire that up.

Closes rust-lang#131836.

r? bootstrap
…bilee

x86-32 float return for 'Rust' ABI: treat all float types consistently

This helps with rust-lang#131819: for our own ABI on x86-32, we want to *never* use the float registers. The previous logic only considered F32 and F64, but skipped F16 and F128. So I made the logic just apply to all float types.
…traviscross

Update `use` keyword docs to describe precise capturing

I noticed that the standard library keyword docs for the `use` keyword haven't been updated yet to describe the new precise capturing syntax.
Mark unexpected variant res suggestion as having placeholders

Fixes rust-lang#131878
…g, r=notriddle,GuillaumeGomez

rustdoc: Switch from FxHash to sha256 for static file hashing.

Fixes rust-lang#129533 (comment)

fxhash isn't well defined, and it's implementation is being changed in rust-lang#129533. But because rustdoc uses it for static files (and encodes that hashing in rustdoc.css), this broke our tests. Given that this isn't performace critical, I think the right fix is to used a well-defined hash that will never change its definition. I've picked (rather arbitrarily) sha256.
small interpreter error cleanup

- Add `InterpretResult::map_err_kind` for the common case of swapping out the error kind (while preserving the backtrace pointing to the original error source)
- Rename `InterpError` -> `InterpErrorKind` to be consistent with the `kind` field name, and make it more clear that this is not the final error type
…pratt

zero-sized accesses are fine on null pointers

We entirely forgot to update all the function docs when changing the central docs. That's the problem with helpfully repeating shared definitions in tons of places...
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Oct 19, 2024
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=9

@bors
Copy link
Contributor

bors commented Oct 19, 2024

📌 Commit ce2c3c7 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 19, 2024
@bors
Copy link
Contributor

bors commented Oct 19, 2024

⌛ Testing commit ce2c3c7 with merge 32ee285...

bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 19, 2024
…iaskrgr

Rollup of 9 pull requests

Successful merges:

 - rust-lang#127462 (std: uefi: Add basic Env variables)
 - rust-lang#131537 (Fix range misleading field access)
 - rust-lang#131838 (bootstrap: allow setting `--jobs` in config.toml)
 - rust-lang#131871 (x86-32 float return for 'Rust' ABI: treat all float types consistently)
 - rust-lang#131890 (Update `use` keyword docs to describe precise capturing)
 - rust-lang#131899 (Mark unexpected variant res suggestion as having placeholders)
 - rust-lang#131908 (rustdoc: Switch from FxHash to sha256 for static file hashing.)
 - rust-lang#131916 (small interpreter error cleanup)
 - rust-lang#131919 (zero-sized accesses are fine on null pointers)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job i686-gnu-nopt failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
failures:

---- [codegen] tests/codegen/float/f16.rs#x86 stdout ----

error in revision `x86`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/i686-unknown-linux-gnu/llvm/build/bin/FileCheck" "--input-file" "/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f16.x86/f16.ll" "/checkout/tests/codegen/float/f16.rs" "--check-prefix=CHECK" "--check-prefix" "x86" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/float/f16.rs:57:17: error: CHECK-LABEL: expected string not found in input
/checkout/tests/codegen/float/f16.rs:57:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: half @f16_neg(
                ^
/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f16.x86/f16.ll:42:27: note: scanning from here
define zeroext i1 @f16_le(half %a, half %b) unnamed_addr #0 {
                          ^
/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f16.x86/f16.ll:49:8: note: possible intended match here
define i16 @f16_neg(half %a) unnamed_addr #0 {


Input file: /checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f16.x86/f16.ll


-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'f16.f29eed2d89b46c1a-cgu.0' 
            2: source_filename = "f16.f29eed2d89b46c1a-cgu.0" 
            3: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128" 
            4: target triple = "i686-unknown-linux-gnu" 
            6: ; Function Attrs: uwtable 
            6: ; Function Attrs: uwtable 
            7: define zeroext i1 @f16_eq(half %a, half %b) unnamed_addr #0 { 
            8: start: 
            9:  %_0 = fcmp oeq half %a, %b 
           10:  ret i1 %_0 
           11: } 
           13: ; Function Attrs: uwtable 
           13: ; Function Attrs: uwtable 
           14: define zeroext i1 @f16_ne(half %a, half %b) unnamed_addr #0 { 
           15: start: 
           16:  %_0 = fcmp une half %a, %b 
           17:  ret i1 %_0 
           18: } 
           20: ; Function Attrs: uwtable 
           20: ; Function Attrs: uwtable 
           21: define zeroext i1 @f16_gt(half %a, half %b) unnamed_addr #0 { 
           22: start: 
           23:  %_0 = fcmp ogt half %a, %b 
           24:  ret i1 %_0 
           25: } 
           27: ; Function Attrs: uwtable 
           27: ; Function Attrs: uwtable 
           28: define zeroext i1 @f16_ge(half %a, half %b) unnamed_addr #0 { 
           29: start: 
           30:  %_0 = fcmp oge half %a, %b 
           31:  ret i1 %_0 
           32: } 
           34: ; Function Attrs: uwtable 
           34: ; Function Attrs: uwtable 
           35: define zeroext i1 @f16_lt(half %a, half %b) unnamed_addr #0 { 
           36: start: 
           37:  %_0 = fcmp olt half %a, %b 
           38:  ret i1 %_0 
           39: } 
           41: ; Function Attrs: uwtable 
           41: ; Function Attrs: uwtable 
           42: define zeroext i1 @f16_le(half %a, half %b) unnamed_addr #0 { 
label:57'0                               X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
           44:  %_0 = fcmp ole half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           45:  ret i1 %_0 
label:57'0     ~~~~~~~~~~~~
           46: } 
label:57'0     ~~
label:57'0     ~
           48: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           49: define i16 @f16_neg(half %a) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'1            ?                                        possible intended match
label:57'0     ~~~~~~~
           51:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           52:  %0 = fneg half %a 
label:57'0     ~~~~~~~~~~~~~~~~~~~
           53:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           54:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           55:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
           56: } 
label:57'0     ~~
label:57'0     ~
           58: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           59: define i16 @f16_add(half %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
           61:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           62:  %0 = fadd half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
           63:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           64:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           65:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
           66: } 
label:57'0     ~~
label:57'0     ~
           68: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           69: define i16 @f16_sub(half %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
           71:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           72:  %0 = fsub half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
           73:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           74:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           75:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
           76: } 
label:57'0     ~~
label:57'0     ~
           78: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           79: define i16 @f16_mul(half %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
           81:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           82:  %0 = fmul half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
           83:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           84:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           85:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
           86: } 
label:57'0     ~~
label:57'0     ~
           88: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           89: define i16 @f16_div(half %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
           91:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           92:  %0 = fdiv half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
           93:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           94:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           95:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
           96: } 
label:57'0     ~~
label:57'0     ~
           98: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           99: define i16 @f16_rem(half %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
          101:  %_0 = alloca [2 x i8], align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          102:  %0 = frem half %a, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          103:  store half %0, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          104:  %1 = load i16, ptr %_0, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          105:  ret i16 %1 
label:57'0     ~~~~~~~~~~~~
          106: } 
label:57'0     ~~
label:57'0     ~
          108: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          109: define void @f16_add_assign(ptr align 2 %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
          111:  %0 = load half, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          112:  %1 = fadd half %0, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          113:  store half %1, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          114:  ret void 
label:57'0     ~~~~~~~~~~
          115: } 
label:57'0     ~~
label:57'0     ~
          117: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          118: define void @f16_sub_assign(ptr align 2 %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
          120:  %0 = load half, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          121:  %1 = fsub half %0, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          122:  store half %1, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          123:  ret void 
label:57'0     ~~~~~~~~~~
          124: } 
label:57'0     ~~
label:57'0     ~
          126: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          127: define void @f16_mul_assign(ptr align 2 %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
          129:  %0 = load half, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          130:  %1 = fmul half %0, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          131:  store half %1, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          132:  ret void 
label:57'0     ~~~~~~~~~~
          133: } 
label:57'0     ~~
label:57'0     ~
          135: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          136: define void @f16_div_assign(ptr align 2 %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
          138:  %0 = load half, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          139:  %1 = fdiv half %0, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          140:  store half %1, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          141:  ret void 
label:57'0     ~~~~~~~~~~
          142: } 
label:57'0     ~~
label:57'0     ~
          144: ; Function Attrs: uwtable 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          145: define void @f16_rem_assign(ptr align 2 %a, half %b) unnamed_addr #0 { 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:57'0     ~~~~~~~
label:57'0     ~~~~~~~
          147:  %0 = load half, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          148:  %1 = frem half %0, %b 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~
          149:  store half %1, ptr %a, align 2 
label:57'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
>>>>>>
------------------------------------------
------------------------------------------


---- [codegen] tests/codegen/float/f128.rs#x86 stdout ----

error in revision `x86`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/i686-unknown-linux-gnu/llvm/build/bin/FileCheck" "--input-file" "/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f128.x86/f128.ll" "/checkout/tests/codegen/float/f128.rs" "--check-prefix=CHECK" "--check-prefix" "x86" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/float/f128.rs:55:17: error: CHECK-LABEL: expected string not found in input
/checkout/tests/codegen/float/f128.rs:55:17: error: CHECK-LABEL: expected string not found in input
// CHECK-LABEL: fp128 @f128_neg(
                ^
/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f128.x86/f128.ll:42:28: note: scanning from here
define zeroext i1 @f128_le(fp128 %a, fp128 %b) unnamed_addr #0 {
                           ^
/checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f128.x86/f128.ll:49:8: note: possible intended match here
define void @f128_neg(ptr sret([16 x i8]) align 16 %_0, fp128 %a) unnamed_addr #0 {


Input file: /checkout/obj/build/i686-unknown-linux-gnu/test/codegen/float/f128.x86/f128.ll


-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'f128.486e1c7a7d34452b-cgu.0' 
            2: source_filename = "f128.486e1c7a7d34452b-cgu.0" 
            3: target datalayout = "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128" 
            4: target triple = "i686-unknown-linux-gnu" 
            6: ; Function Attrs: uwtable 
            6: ; Function Attrs: uwtable 
            7: define zeroext i1 @f128_eq(fp128 %a, fp128 %b) unnamed_addr #0 { 
            8: start: 
            9:  %_0 = fcmp oeq fp128 %a, %b 
           10:  ret i1 %_0 
           11: } 
           13: ; Function Attrs: uwtable 
           13: ; Function Attrs: uwtable 
           14: define zeroext i1 @f128_ne(fp128 %a, fp128 %b) unnamed_addr #0 { 
           15: start: 
           16:  %_0 = fcmp une fp128 %a, %b 
           17:  ret i1 %_0 
           18: } 
           20: ; Function Attrs: uwtable 
           20: ; Function Attrs: uwtable 
           21: define zeroext i1 @f128_gt(fp128 %a, fp128 %b) unnamed_addr #0 { 
           22: start: 
           23:  %_0 = fcmp ogt fp128 %a, %b 
           24:  ret i1 %_0 
           25: } 
           27: ; Function Attrs: uwtable 
           27: ; Function Attrs: uwtable 
           28: define zeroext i1 @f128_ge(fp128 %a, fp128 %b) unnamed_addr #0 { 
           29: start: 
           30:  %_0 = fcmp oge fp128 %a, %b 
           31:  ret i1 %_0 
           32: } 
           34: ; Function Attrs: uwtable 
           34: ; Function Attrs: uwtable 
           35: define zeroext i1 @f128_lt(fp128 %a, fp128 %b) unnamed_addr #0 { 
           36: start: 
           37:  %_0 = fcmp olt fp128 %a, %b 
           38:  ret i1 %_0 
           39: } 
           41: ; Function Attrs: uwtable 
           41: ; Function Attrs: uwtable 
           42: define zeroext i1 @f128_le(fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0                                X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           44:  %_0 = fcmp ole fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           45:  ret i1 %_0 
label:55'0     ~~~~~~~~~~~~
           46: } 
label:55'0     ~~
label:55'0     ~
           48: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           49: define void @f128_neg(ptr sret([16 x i8]) align 16 %_0, fp128 %a) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'1            ?                                                                             possible intended match
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           51:  %0 = fneg fp128 %a 
label:55'0     ~~~~~~~~~~~~~~~~~~~~
           52:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           53:  ret void 
label:55'0     ~~~~~~~~~~
           54: } 
label:55'0     ~~
label:55'0     ~
           56: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           57: define void @f128_add(ptr sret([16 x i8]) align 16 %_0, fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           59:  %0 = fadd fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
           60:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           61:  ret void 
label:55'0     ~~~~~~~~~~
           62: } 
label:55'0     ~~
label:55'0     ~
           64: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           65: define void @f128_sub(ptr sret([16 x i8]) align 16 %_0, fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           67:  %0 = fsub fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
           68:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           69:  ret void 
label:55'0     ~~~~~~~~~~
           70: } 
label:55'0     ~~
label:55'0     ~
           72: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           73: define void @f128_mul(ptr sret([16 x i8]) align 16 %_0, fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           75:  %0 = fmul fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
           76:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           77:  ret void 
label:55'0     ~~~~~~~~~~
           78: } 
label:55'0     ~~
label:55'0     ~
           80: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           81: define void @f128_div(ptr sret([16 x i8]) align 16 %_0, fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           83:  %0 = fdiv fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
           84:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           85:  ret void 
label:55'0     ~~~~~~~~~~
           86: } 
label:55'0     ~~
label:55'0     ~
           88: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           89: define void @f128_rem(ptr sret([16 x i8]) align 16 %_0, fp128 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           91:  %0 = frem fp128 %a, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
           92:  store fp128 %0, ptr %_0, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           93:  ret void 
label:55'0     ~~~~~~~~~~
           94: } 
label:55'0     ~~
label:55'0     ~
           96: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
           97: define void @f128_add_assign(ptr align 16 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
           99:  %0 = load fp128, ptr %a, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          100:  %1 = fadd fp128 %0, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          101:  store fp128 %1, ptr %a, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          102:  ret void 
label:55'0     ~~~~~~~~~~
          103: } 
label:55'0     ~~
label:55'0     ~
          105: ; Function Attrs: uwtable 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
          106: define void @f128_sub_assign(ptr align 16 %a, fp128 %b) unnamed_addr #0 { 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
label:55'0     ~~~~~~~
label:55'0     ~~~~~~~
          108:  %0 = load fp128, ptr %a, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          109:  %1 = fsub fp128 %0, %b 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~
          110:  store fp128 %1, ptr %a, align 16 
label:55'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          111:  ret void 
label:55'0     ~~~~~~~~~~
          112: } 
label:55'0     ~~
label:55'0     ~

@bors
Copy link
Contributor

bors commented Oct 19, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.