[PATCH] D34934: [X86] Convert CodeGen test half.ll to be update_llc_test_checks friendly. NFC.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 07:34:18 PDT 2017


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/half.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c -fixup-byte-word-insts=1 \
+; RUN:   | FileCheck %s -check-prefixes=CHECK,CHECK-LIBCALL,BWON,BWON-NOF16C
----------------
You should be able to drop both the -march and the -mcpu from these tests - just use -mtriple and -mattr


================
Comment at: test/CodeGen/X86/half.ll:273
-; to f80 and then rounded to f32.  The DAG combiner should not combine this
-; fp_round and the subsequent fptrunc from float to half.
 define half @test_f80trunc_nodagcombine() #0 {
----------------
Keep this comment?


Repository:
  rL LLVM

https://reviews.llvm.org/D34934





More information about the llvm-commits mailing list