[PATCH] D74730: [FPEnv][X86] Implement lowering of llvm.set.rounding

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 17 11:17:16 PST 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:25774
+  int OldCWFrameIdx =
+      MF.getFrameInfo().CreateStackObject(4, StackAlignment.value(), false);
+  SDValue StackSlot =
----------------
I have no idea why FLT_ROUNDS calls TFI.getStackAlignment() to get the second parameter here. It should just be 4.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74730





More information about the llvm-commits mailing list