[PATCH] D122709: [RISCV] Enable cross basic block aware writevxrm insertion

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 09:31:20 PDT 2022


kito-cheng added a comment.

Hmm, I think that made the dynamic rounding mode become unexpected/random rounding mode, give following example, the behavior `vaddd` in `foo` is unpredictably, `vaddd` in foo will operated with current rounding mode if the bar is inlined, but it will become `rnu` once bar inlined, I really think we should restore that for those static rounding mode stuffs.

  foo:
    call bar
    vaddd
  
  bar:
    vaadd.rm rnu


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122709/new/

https://reviews.llvm.org/D122709



More information about the llvm-commits mailing list