Frame-base materialization we may insert vector instructions
before EXEC is initialised. Fix this by moving lowering of
Also remove SI_INIT_EXEC_LO pseudo as this is not necessary.
Based on code by Ruiling Song.
critson on Wed, Jan 13, 7:06 PM.Authored by
BTW I felt the input in the name of llvm.amdgcn.init.exec.from.input some kind of means the argument is the function input argument in LLVM IR. I think we can clarify that the value to this intrinsic should be an function input argument. That is the only requirement I can see currently from frontend. So that we don't need to consider various hard to solve situations. @mareko What do you think?