Skip to content
Snippets Groups Projects
  1. Oct 30, 2024
  2. Jan 16, 2024
  3. Jan 11, 2024
  4. Jan 09, 2024
  5. Jan 04, 2024
  6. Dec 13, 2023
  7. Dec 07, 2023
  8. Dec 04, 2023
  9. Nov 03, 2023
  10. Jul 31, 2023
  11. Jul 17, 2023
    • Roger Ferrer Ibanez's avatar
      Avoid crash in MLIR to LLVM translation · ab8ced52
      Roger Ferrer Ibanez authored
      MLIR to LLVM translation assumes metadata nodes returned by MDNode::get
      are fresh. But this may not true if the LLVMContext contains MDNodes
      already.
      
      Make sure the uniqueness is preserved by changing the root of the TBAA
      info.
      ab8ced52
    • Roger Ferrer Ibanez's avatar
      Enable mlir when building clang · d11210c6
      Roger Ferrer Ibanez authored
      This is to avoid head-scratching errors as we actually depend on MLIR
      now.
      d11210c6
    • Roger Ferrer Ibanez's avatar
    • Evan Wilde's avatar
      [NFC][clang] Fix format in UnsafeBufferUsage.cpp · d7b45945
      Evan Wilde authored
      There were two whitespaces on an otherwise empty that were causing the
      bots to fail due to formatting issues. Deleting extra whitespace now.
      d7b45945
    • LLVM GN Syncbot's avatar
      [gn build] Port 42179bbf · 9b0d45ba
      LLVM GN Syncbot authored
      9b0d45ba
    • Shivam Gupta's avatar
      [clang-tidy] Add check for possibly incomplete switch statements · 42179bbf
      Shivam Gupta authored
      While clang warns about a possibly incomplete switch statement when switching over an enum variable and failing to cover all enum values (either explicitly or with a default case), no such warning is emitted if a plain integer variable is used as switch variable.
      
      Add a clang-tidy check to diagnose these scenarios.
      
      No fixit hint is provided since there are multiple possible solutions.
      
      Differential Revision: https://reviews.llvm.org/D4784
      42179bbf
    • Piyou Chen's avatar
      [RISCV] Implement prefetch locality by NTLH · 7ce4e933
      Piyou Chen authored
      We add the MemOperand then backend will generate NTLH automatically.
      
      ```
      __builtin_prefetch(ptr,  0 /* rw==read */, 0 /* locality */); => ntl.all + prefetch.r (ptr)
      __builtin_prefetch(ptr,  0 /* rw==read */, 1 /* locality */); => ntl.pall + prefetch.r (ptr)
      __builtin_prefetch(ptr,  0 /* rw==read */, 2 /* locality */); => ntl.p1 + prefetch.r (ptr)
      __builtin_prefetch(ptr,  0 /* rw==read */, 3 /* locality */); => prefetch.r (ptr)
      ```
      
      Reviewed By: craig.topper
      
      Differential Revision: https://reviews.llvm.org/D154691
      7ce4e933
    • Craig Topper's avatar
      [RISCV] Adjust the Zfhmin handling in RISCVInstrInfo::copyPhysReg. · f3b4c266
      Craig Topper authored
      Instead of checking '!Zfh && Zhfmin' first, handle Zfh. Then assert
      that the other case is F+Zfhmin. The F+Zfhmin check will need to be
      relaxed for bfloat16 support. As it was written before there would
      be now error to catch that. Instead it would just silently create
      fsgnj.h instructions.
      f3b4c266
    • Lang Hames's avatar
      [ORC] In defineMaterializing, error out early if tracker is defunct. · 199034e8
      Lang Hames authored
      An in-flight materialization may try to claim responsibility for new symbols
      (via MaterializationResponsibility::defineMaterializing) after the tracker that
      is associated with the materialization is removed, leaving the tracker defunct.
      
      Failure to error out early here could leave the JITDylib in an invalid state,
      with defineMaterializing associating new symbols with the already-defunct
      tracker. Erroring out early prevents this.
      199034e8
  12. Jul 16, 2023