[InstSimplify] Add additional load from constant test (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 3 Oct 2021 11:26:14 +0000 (13:26 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 3 Oct 2021 13:52:36 +0000 (15:52 +0200)
commit3be4acbaa35607131411e94829185227a061e639
tree487d5fd7d1e3a9f5f14f6ab187c42041bd14d87f
parenta834849aacadbf12862b86d0cc05db220dce3723
[InstSimplify] Add additional load from constant test (NFC)

This case does not get folded, because the GEP indexes too deeply
(to the i8), making the bitcast logic not apply (on the [8 x i8]).
llvm/test/Transforms/InstSimplify/ConstProp/loads.ll