<instantiation>:18:15: error: invalid operand for instruction

From: kernel test robot
Date: Fri Jan 26 2024 - 23:18:36 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3a5879d495b226d0404098e3564462d5f1daa33b
commit: afc6386815a88d067d9f567dcc6266800286f626 powerpc: merge 32-bit and 64-bit _switch implementation
date: 8 months ago
config: powerpc64-randconfig-001-20240126 (https://download.01.org/0day-ci/archive/20240127/202401271242.9fQxbKH3-lkp@xxxxxxxxx/config)
compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project a31a60074717fc40887cfe132b77eec93bedd307)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240127/202401271242.9fQxbKH3-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401271242.9fQxbKH3-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> <instantiation>:18:15: error: invalid operand for instruction
addi %r7,%r7,(1 << (15 + 1))-432
^
arch/powerpc/kernel/switch.S:249:2: note: while in macro instantiation
do_switch_64
^

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki