[all-commits] [llvm/llvm-project] 75365b: [clang][AVR] Restrict range of assembly constraint...

Ben Shi via All-commits all-commits at lists.llvm.org
Wed Jan 3 23:52:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75365b2e189a54b96a907ebe327c5898dd7aad14
      https://github.com/llvm/llvm-project/commit/75365b2e189a54b96a907ebe327c5898dd7aad14
  Author: Ben Shi <2283975856 at qq.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AVR.h
    M clang/test/CodeGen/avr/avr-inline-asm-constraints.c
    M clang/test/CodeGen/avr/avr-unsupported-inline-asm-constraints.c

  Log Message:
  -----------
  [clang][AVR] Restrict range of assembly constraint 'G' (#76561)

According to
https://www.nongnu.org/avr-libc/user-manual/inline_asm.html, 'G' only
represents floating point constant '0.0'. And avr-gcc also rejects other
non-zero FP values.




More information about the All-commits mailing list