Issue 166246
Summary [IndVarSimplify] `llvm::rewriteLoopExitValues` Generates `i33` for `riscv-32`
Labels new issue
Assignees
Reporter veera-efficient
    Godbolt: https://c.godbolt.org/z/5zvnhab7M

IndVarSimplify's `llvm::rewriteLoopExitValues` generates 33 bit integers for 32 bit risc-v targets.

This unnecessary `zext i32 to i33` seems to originate from `SCEVExpander::visitZeroExtendExpr`.

This is problematic because 32 bit targets are not equipped to natively handle 33 bit integers.




_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to