search for: tipcalc

Displaying 2 results from an estimated 2 matches for "tipcalc".

Did you mean: ipcalc
2015 Oct 05
2
Swift to IR, generates wrong IR
...ft code from which I generate IR code with ‘swiftc test.swift -emit-ir -o test.ll' When I try to run the .ll file or apply optimization with opt, I get errors like this one: lli: test.ll:548:110: error: expected instruction opcode %9 = cmpxchg i64* bitcast (%swift.type*** @field_type_vector_TipCalculator to i64*), i64 0, i64 %8 seq_cst seq_cst ^ I know swift is not part of the LLVM oss project, but is this problem coming f...
2015 Oct 05
2
Swift to IR, generates wrong IR
...aldini Julien via llvm-dev <llvm-dev at lists.llvm.org>: > Sorry, the error is (the previous one was from Apple’s lli): > > Documents/strong.codes/code/build/obfuscator-llvm/bin/opt: test.ll:57:203: error: expected comma after getelementptr's type > @_METACLASS_DATA__TtC4test13TipCalculator = private constant { i32, i32, i32, i32, i8*, i8*, i8*, i8*, i8*, i8*, i8* } { i32 129, i32 40, i32 40, i32 0, i8* null, i8* getelementptr inbounds ([25 x i8]* @7, i64 0, i64 0), i8* null, i8* null, i8* null, i8* null, i8* null }, section "__DATA, __objc_const", align 8 The IR form...