add regression test for LLVM's PR21256