[llvm] [AArch64] Return early rather than asserting when Size of value passed to targetShrinkDemandedConstant is not 32 or 64 (PR #123084)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 11:20:23 PST 2025


================
@@ -0,0 +1,22 @@
+; RUN: llc -o - %s
----------------
davemgreen wrote:

I would:
 - Remove some of the noalias and noundef if they do not alter the test. local_unnamed_addr can probably be removed.
 - presision -> precision
 - Make the run line something like `RUN: llc --mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s`, mostly for consistency with other tests.
 - Run update_llc_test_checks.py on the file, to show the output. As you say it doesn't matter much what it is, but it can be good to check it looks OK.

https://github.com/llvm/llvm-project/pull/123084


More information about the llvm-commits mailing list