[PATCH] D13792: Fix incorrect target triple in fp16-promote.ll

Vinicius Tinti via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 13:42:42 PDT 2015


tinti added a comment.

@rengolin

Frontends emit LLVM IR with `---` (three dashes) to avoid ambiguous interpretation. Example:

  ; ModuleID = 'main.c'
  target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
  target triple = "armv7---eabihf"

Abiguous triples are only accepted in `-target` in **Clang** for compatibility reasons.


http://reviews.llvm.org/D13792





More information about the llvm-commits mailing list