[llvm-commits] [llvm] r107625 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86Subtarget.cpp X86Subtarget.h
Chris Lattner
clattner at apple.com
Mon Jul 5 13:25:00 PDT 2010
On Jul 5, 2010, at 1:11 PM, Duncan Sands wrote:
>> I agree with Daniel, the frontend should provide a canonical triple, even if the user doesn't.
>
> They could do this using a utility class that accepts just about anything, but
> produces a correct, normalized triple. We could even call this class Triple,
> what do you think? :)
I would be fine with a static Triple::normalize function that takes a StringRef and returns a Triple.
-Chris
More information about the llvm-commits
mailing list