[PhaseOrdering] Add test case for PR45682
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 21 Apr 2021 14:06:35 +0000 (15:06 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 21 Apr 2021 14:07:00 +0000 (15:07 +0100)
commit2f69975683f5b6ea7df79f335f96b889a4bddecd
tree50e67afdf98eef163f0a226c6ff7d2d779e67ee6
parent68b9b769b510b9f5d3fe20e1f850ab829510673e
[PhaseOrdering] Add test case for PR45682

Ensures that the correct sequence of simplifycfg/instcombine/sroa reduce the IR to just a icmp+assume (which will be dropped in backend)
llvm/test/Transforms/PhaseOrdering/pr45682.ll [new file with mode: 0644]