glandium added a comment. Reduced testcase:
enum FrameIID { nsBox_id, nsIFrame_id, nsHTMLFramesetBlankFrame_id, nsHTMLFramesetBorderFrame_id, }; enum class ClassID : unsigned char { nsBox_id, nsIFrame_id, nsHTMLFramesetBlankFrame_id, nsHTMLFramesetBorderFrame_id, }; extern void foo(FrameIID, ClassID); void bar(FrameIID f, ClassID c) { foo(f, c); } Compile with `clang++ -o test.ll -S -emit-llvm -g test.cpp` a number of times, and observe that sometimes the output is different. Add items to the enums to make it more frequent. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106585/new/ https://reviews.llvm.org/D106585 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits