pxb1988 added a comment. this patch is from https://bugs.llvm.org/show_bug.cgi?id=37120 with a little change: the order of Getter and Setter is kept same in source code and bitcode Repository: rL LLVM https://reviews.llvm.org/D47314