[PATCH] D134282: [CGP] Add generic TargetLowering::shouldAlignPointerArgs() implementation
Alexander Richardson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 06:26:36 PDT 2022
arichardson added inline comments.
================
Comment at: llvm/test/Transforms/CodeGenPrepare/RISCV/adjust-memintrin-alignment.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals --force-update
+; RUN: opt -mtriple=riscv64 -data-layout="e-m:e-p:32:32" -S -codegenprepare < %s \
+; RUN: | FileCheck %s '-D#NEW_ALIGNMENT=4'
----------------
Not sure if there is a way to get the default target datalayout from opt, so I've hardcoded the relevant bits here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134282/new/
https://reviews.llvm.org/D134282
More information about the llvm-commits
mailing list