Extended Description
A release build of clang (top-of-tree; llvm-10) crashes with following llvm-ir input:
define linkonce i8* @b(i8* %a)
{
ret i8* %a
}
and a command line like: clang -O3 S -emit-llvm test.ll
Also see: https://www.godbolt.org/z/7NjLKP
Note: clang-9 was fine.