[ArgPromotion] Add alignment test (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 1 Feb 2022 09:42:34 +0000 (10:42 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 1 Feb 2022 09:45:14 +0000 (10:45 +0100)
commita24cc48bc6ff9abb09c73f8d9a3c32c154e48968
tree8a552c1b761ff8f9f099b9ce9003a2ff27898f3e
parentd2e5d3512be092af91a36d2e7d1884c786127950
[ArgPromotion] Add alignment test (NFC)

This shows a miscompile in the current argpromotion implementation:
We may speculatively execute overaligned loads.
llvm/test/Transforms/ArgumentPromotion/align.ll [new file with mode: 0644]