Skip to content

Commit 51b05c1

Browse files
committed
Define CLZ behavior for zero input on Z80
1 parent 651ca0c commit 51b05c1

File tree

1 file changed

+1
-0
lines changed
  • clang/lib/Basic/Targets

1 file changed

+1
-0
lines changed

Diff for: clang/lib/Basic/Targets/Z80.h

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class LLVM_LIBRARY_VISIBILITY Z80TargetInfoBase : public TargetInfo {
3939
}
4040

4141
bool hasInt48Type() const override { return true; }
42+
bool isCLZForZeroUndef() const override { return false; }
4243
void getTargetDefines(const LangOptions &Opts,
4344
MacroBuilder &Builder) const override;
4445
BuiltinVaListKind getBuiltinVaListKind() const override {

0 commit comments

Comments
 (0)