From 5295122b0d5053ebb4bc08d4c0ebd5aa071c43c3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Apr 2006 01:47:20 +0000 Subject: [PATCH] New note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27337 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index afb268d2e45..23503517c07 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -166,3 +166,9 @@ v4sf example(float *P) { //===---------------------------------------------------------------------===// +We should constant fold packed type casts at the LLVM level, regardless of the +cast. Currently we cannot fold some casts because we don't have TargetData +information in the constant folder, so we don't know the endianness of the +target! + +//===---------------------------------------------------------------------===//