-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
llvm:instcombineCovers the InstCombine, InstSimplify and AggressiveInstCombine passesCovers the InstCombine, InstSimplify and AggressiveInstCombine passesregression
Description
#154336 causes some drastic compile time regressions for AMDGPU. In one real world case compilation time jumped from a fraction of second to over 1 hour, where most of the time is spent in the instcombine.
Here's the simplified reproducer repro.txt:
$ time ./opt_fail -passes="instcombine" -disable-output repro.txt
real 0m3,221s
user 0m3,208s
sys 0m0,013s
$ time ./opt_pass -passes="instcombine" -disable-output repro.txt
real 0m0,017s
user 0m0,008s
sys 0m0,009s
Metadata
Metadata
Assignees
Labels
llvm:instcombineCovers the InstCombine, InstSimplify and AggressiveInstCombine passesCovers the InstCombine, InstSimplify and AggressiveInstCombine passesregression