Jonas Paulsson

Results comments of Jonas Paulsson

> Thanks Jonas. > > From your previous message, I think this will boil down to teaching > InstSimplify/InstCombine how to simply something like: > > define void @​test(* %arg,...

[reduced test case](https://user-images.githubusercontent.com/55128014/143754511-3a08f319-01ce-4d63-b114-09acfddd30f7.gz)

I have experimented with enabling the LoopVectorizer for SystemZ, and come across a loop which, when vectorized, seems to have been poorly generated. There seems to be a completely unnecessary...

[test case](https://user-images.githubusercontent.com/55128014/143754512-e040a531-d4b4-481f-a4ea-5732326d4235.gz)

mentioned in issue llvm/llvm-project#38627

Huh, I got still another fail today on SystemZ with llvm/trunk@292353 cfe/trunk@292343 test-suite/trunk@292129 NewGVN.cpp:1084: void NewGVN::moveValueToNewCongruenceClass(llvm::Instruction*, CongruenceClass*, CongruenceClass*): Assertion `(!isa(NewClass->RepLeader) || !NewClass->RepLeader || I == NewClass->RepLeader || !DT->properlyDominates( I->getParent(), cast(NewClass->RepLeader)->getParent()))...

[reduced test case for opt with newgvn crash](https://user-images.githubusercontent.com/55128014/143754686-ecf69914-24e6-4582-9880-d78b51489f2e.gz)

Ah, great :-) I tried to apply the attached patch, but it did not apply cleanly anymore, at least not in my repo with latest changes. Let me know when...

(and yes, the crash I found is still there as far as I can see)