Displaying 1 result from an estimated 1 matches for "59f8c466".
2017 Mar 03
3
Why ISel Shifts operations can only be expanded for Value type vector ?
Hello LLVM Devs,
I am working on a target on which no SHL instruction is available. So
wanted to expand it through MUL. But currently it is only possible to
expand SHL for vector types.
One possible reason I can think is because LLVM tries to optimize MUL to
SHL in certain cases and that can make compiler co in loop or may end up
generating wrong code.
But I think SHL should be able to expanded