diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-02 18:41:28 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-02 18:52:48 +0000 | 
| commit | a59a8f9e7579b4346eb6b00c3809d04986dcfcee (patch) | |
| tree | c2f4237f392d9c92ca1656b7c18edddc816a9060 /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 8c392966a013fd8a09e6b78b3c8d6e442bc278e1 (diff) | |
| download | rust-a59a8f9e7579b4346eb6b00c3809d04986dcfcee.tar.gz rust-a59a8f9e7579b4346eb6b00c3809d04986dcfcee.zip  | |
Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"
This reverts commit a7a6c64a657f68113301c2ffe0745b49a16442d1, reversing changes made to ebbe63891f1fae21734cb97f2f863b08b1d44bf8.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/common.rs | 4 | 
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/common.rs b/compiler/rustc_codegen_llvm/src/common.rs index 0621b893e75..c9851ef8431 100644 --- a/compiler/rustc_codegen_llvm/src/common.rs +++ b/compiler/rustc_codegen_llvm/src/common.rs @@ -127,10 +127,6 @@ impl<'ll, 'tcx> ConstCodegenMethods<'tcx> for CodegenCx<'ll, 'tcx> { unsafe { llvm::LLVMGetUndef(t) } } - fn is_undef(&self, v: &'ll Value) -> bool { - unsafe { llvm::LLVMIsUndef(v) == True } - } - fn const_poison(&self, t: &'ll Type) -> &'ll Value { unsafe { llvm::LLVMGetPoison(t) } }  | 
