Drop support for LLVM_VERSION < 13 in tcecc
@@ -477,9 +477,6 @@ def linkBytecode(linkFiles, fileNamePrefix, verbose):
#startFiles = [os.path.join(newlib_libdir, "crt0.o ")]
- # format of llvm-nm has been changed in llvm 3.7
- nmidx = 0
- if @LLVM_VERSION@ >= 3.7:
nmidx = 1
libNoSys = os.path.join(newlib_libdir, "libnosys.a")
@@ -750,12 +747,7 @@ def linkEmulationFuncs(inFile, fileNamePrefix):
optSwitches = ""
- if options.soft_float and @LLVM_VERSION@ >= 3.4:
- if @LLVM_VERSION@ < 9:
- optSwitches += " -disable-slp-vectorization -disable-loop-vectorization"
- elif @LLVM_VERSION@ >= 9 and @LLVM_VERSION@ < 11:
- optSwitches += " -disable-slp-vectorization"
- elif @LLVM_VERSION@ >= 11:
+ if options.soft_float:
optSwitches += " -vectorize-slp=false"
# if software floatingpoint should be lowered, link the emulation functions in
@@ -1199,7 +1191,6 @@ p.add_option('-x', type='string', action='store', metavar='language',
dest="language", default='', help=\
"""Bypass language detection and use the given language for compilation.""")
-if "@LLVM_VERSION@" != "3.0":
p.add_option('--vectorize', action='store_true', dest='vectorize', default=False,
help=\
"""Call work item vectorizer. This requires metadata support from pocl.""")
