[llvm] [M68k] Add anyext patterns for PCD addressing mode (PR #150356)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 16 14:37:14 PDT 2025


================
@@ -41,3 +41,48 @@ define i32 @"test_zext_pcd_i16_to_i32"() {
   %val2 = zext i16 %val to i32
   ret i32 %val2
 }
+
+define i16 @"test_anyext_pcd_i8_to_i16"() {
----------------
mshockwave wrote:

I know you copied from tests above, but could you (1) use normal function name without double quotes like `@test_anyext_pcd_i8_to_i16` (2) add `nounwind` so that with can get rid of the CFI directives like `.cfi_startproc`. 

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


More information about the llvm-commits mailing list