[PATCH] D42262: [JumpThreading] Don't restrict cast-traversal to i1
Keno Fischer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 13:21:06 PST 2018
loladiro added a comment.
This happens fairly frequently for us in julia, because we use i8 to represent tags for tagged unions and then switch on them to discover which of the union components is active.
Without this patch I saw ~3x performance regressions in the worst benchmark (because it prevented other optimizations from seeing optimization opportunities based on the
active union component). I did not see compilation performance impact in my testing.
Repository:
rL LLVM
https://reviews.llvm.org/D42262
More information about the llvm-commits
mailing list