diff options
| author | Jiri Bobek <jiri.bobek@gmail.com> | 2024-07-26 15:51:46 +0200 |
|---|---|---|
| committer | Jiri Bobek <jiri.bobek@gmail.com> | 2024-11-17 21:49:10 +0100 |
| commit | 777003ae9fd4d81ada91f67f388d4f12c9ca220a (patch) | |
| tree | 2ce8e9305e60c0ddf132100cc683eac538ffbc70 /compiler/rustc_codegen_llvm/src/intrinsic.rs | |
| parent | f2a35426b6586178c44b27cedae182502092e898 (diff) | |
| download | rust-777003ae9fd4d81ada91f67f388d4f12c9ca220a.tar.gz rust-777003ae9fd4d81ada91f67f388d4f12c9ca220a.zip | |
Likely unlikely fix
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/intrinsic.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index e9c687d75e3..b56f464975d 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -192,7 +192,6 @@ impl<'ll, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> { Some(instance), ) } - sym::likely => self.expect(args[0].immediate(), true), sym::is_val_statically_known => { let intrinsic_type = args[0].layout.immediate_llvm_type(self.cx); let kind = self.type_kind(intrinsic_type); @@ -213,7 +212,6 @@ impl<'ll, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'_, 'll, 'tcx> { self.const_bool(false) } } - sym::unlikely => self.expect(args[0].immediate(), false), sym::select_unpredictable => { let cond = args[0].immediate(); assert_eq!(args[1].layout, args[2].layout); |
