[all-commits] [llvm/llvm-project] 18526b: [PowerPC] Changed sema checking range for tdw td b...
Conanap via All-commits
all-commits at lists.llvm.org
Mon Jul 26 16:44:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18526b0d661f28e79cb70bfd712cedf9e7085154
https://github.com/llvm/llvm-project/commit/18526b0d661f28e79cb70bfd712cedf9e7085154
Author: Albion Fung <albionapc at gmail.com>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/builtins-ppc-xlcompat-error.c
Log Message:
-----------
[PowerPC] Changed sema checking range for tdw td builtin
To match xlc behaviour and definition in the PowerPC ISA3.1,
it is a better idea to have ibm-clang produce an error when a
0 is passed to the builtin, which will match xlc's behaviour.
This patch changes the accepted range from 0 to 31 to 1 to 31.
Differential revision: https://reviews.llvm.org/D106817
More information about the All-commits
mailing list