[clang] [Clang] Remove 3-element vector load and store special handling (PR #104661)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 16 22:59:34 PDT 2024
================
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
----------------
arsenm wrote:
According to the langref the backend can widen the store up to the alignment, if not using sanitizers. It just doesn't today
https://github.com/llvm/llvm-project/pull/104661
More information about the cfe-commits
mailing list