tangaac wrote: the original test is from gcc ```cpp int divw(long a, long b) { return (int)a / (int)b; }
unsigned int divwu(long a, long b) { return (unsigned int)a / (unsigned int)b; } int modw(long a, long b) { return (int)a % (int)b; } unsigned int modwu(long a, long b) { return (unsigned int)a % (unsigned int)b; } ``` https://github.com/llvm/llvm-project/pull/116764 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits