search for: mytargetgendagisel

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

2016 Jan 25
2
Instruction selection gives "LLVM ERROR: Cannot select"
Hello. I'm writing a back end for a RISC processor (similar to BPF) with a large SIMD unit. I tried in the last days to make llc compile to SIMD code the following LLVM program: define i32 @foo(i32* %A, i32* %B, i32* %C, i32 %N) #0 { entry: ;vector.body: ; preds = %vector.body, %vector.body.preheader.split.split %0 = getelementptr inbounds i32, i32* %A, i64 0 ; i64 %index ; Alex: I
2016 Feb 04
2
llc gives Segmentation fault at instruction selection [was Re: Instruction selection gives "LLVM ERROR: Cannot select"]
...be helpful (try "llc -debug") since we've got not idea > what t20, t19 or t6 are. > > About all I can suggest at the moment is following each step of the > "llc -debug" output while it's trying to select this store, referring > to build/lib/Target/MyTarget/MyTargetGenDAGISel.inc. You should be > able to work out which predicate on the way to the instruction you > expected to be used failed, which often makes it obvious what was > wrong with the pattern. > > Cheers. > > Tim. >