From 66e631ace35a4890d84573c41c6debb2c3a4c11c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 7 Jan 2008 21:38:14 +0000 Subject: [PATCH] possible switch lowering improvement. llvm-svn: 45720 --- lib/Target/README.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 26bc5e83191..e6178894afe 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -519,3 +519,8 @@ function, they should be sunk into the ones that do. In this case, whole-function-isel would also handle this. //===---------------------------------------------------------------------===// + +Investigate lowering of sparse switch statements into perfect hash tables: +http://burtleburtle.net/bob/hash/perfect.html + +//===---------------------------------------------------------------------===//