[PATCH] D106224: [VE] Disable relative lookup table converter pass for VE
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 03:25:49 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb28e5b791064: [VE] Disable relative lookup table converter pass for VE (authored by kaz7).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106224/new/
https://reviews.llvm.org/D106224
Files:
llvm/lib/Target/VE/VETargetTransformInfo.h
Index: llvm/lib/Target/VE/VETargetTransformInfo.h
===================================================================
--- llvm/lib/Target/VE/VETargetTransformInfo.h
+++ llvm/lib/Target/VE/VETargetTransformInfo.h
@@ -76,6 +76,16 @@
// TODO report vregs once vector isel is stable.
return 0;
}
+
+ bool shouldBuildRelLookupTables() const {
+ // NEC nld doesn't support relative lookup tables. It shows following
+ // errors. So, we disable it at the moment.
+ // /opt/nec/ve/bin/nld: src/CMakeFiles/cxxabi_shared.dir/cxa_demangle.cpp
+ // .o(.rodata+0x17b4): reloc against `.L.str.376': error 2
+ // /opt/nec/ve/bin/nld: final link failed: Nonrepresentable section on
+ // output
+ return false;
+ }
};
} // namespace llvm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106224.359732.patch
Type: text/x-patch
Size: 771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210719/f0e560e7/attachment.bin>
More information about the llvm-commits
mailing list