File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -220,15 +220,7 @@ pub(crate) unsafe fn create_module<'ll>(
220220 . expect ( "got a non-UTF8 data-layout from LLVM" ) ;
221221
222222 if tcx. sess . target . os == "aix" {
223- // We committed a travesty to fix a bug in LLVM and/or clang, depending on POV:
224- // clang overrides the data layout for AIX targets, instead of reusing LLVM's layout,
225- // which causes problems in flang, rustc, and other LLVM-based compilers which,
226- // instead of having individual impls of layout logic, parse LLVM datalayout strings.
227- // As a hotfix, we override the AIX datalayout and thus now check for NON-conformance!
228- // See https://github.com/llvm/llvm-project/issues/133599 for more.
229- if target_data_layout == llvm_data_layout {
230- bug ! ( "LLVM got fixed, please remove this exception in cg_llvm!" ) ;
231- }
223+ // FIXME(workingjubilee): Currently skipping this logic for testing purposes
232224 } else if target_data_layout != llvm_data_layout {
233225 tcx. dcx ( ) . emit_err ( crate :: errors:: MismatchedDataLayout {
234226 rustc_target : sess. opts . target_triple . to_string ( ) . as_str ( ) ,
You can’t perform that action at this time.
0 commit comments